Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#12249 closed Bug (invalid)

[Android] Textarea with "visibility: hidden" in CKEditor for ASP.NET in place of CKEditor

Reported by: Anna Tomanek Owned by:
Priority: Normal Milestone:
Component: Server : ASP.Net Version:
Keywords: Android Cc:

Description

As reported on our forum: http://ckeditor.com/forums/Support/Ckeditor-.net-version-problem-on-Android

I know that ckeditor is not support yet for android, which is fine. I'm happy with it not to display. However, I am using the standard installation for .net, but when I view it on android (4.4.2, glalaxy s4), I see nothing at all. I would have expected to see a simple (non-formatted) textarea?

I've viewed source, and I can see that the textarea box is there but with a style of "visibility: hidden;".

Is this the way its supposed to work? I need the box to be display even without the ckeditor bits.

I can go down the javascript route to check for mobile, then set visibility:visible, but I wanted to check if I was doing something wrong first!

My code is simple...

Register at top:

<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>

Add in the editor:

<CKEditor:CKEditorControl ID="txtDesc" name="txtDesc" BasePath="/ckeditor/" ClientIDMode="Static" runat="server" ></CKEditor:CKEditorControl>

View source in android shows:

<textarea id="txtDesc" cols="20" rows="2" name="ctl00$CPHMain$txtDesc" style="visibility: hidden;"></textarea>

Change History (4)

comment:1 Changed 10 years ago by Anna Tomanek

Component: GeneralServer : ASP.Net

comment:2 Changed 9 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

Please see: http://docs.ckeditor.com/#!/guide/dev_unsupported_environments

For any CKEditor under version 4.4.8, you need to explicitly enable it for mobile environments.

comment:3 Changed 9 years ago by Anna Tomanek

I did not check this again, but the original issue here is: if CKEditor is disabled on mobiles (which is fine), there should be a plain textarea in its place instead (just like when you have JavaScript disabled). And the user reported that the textarea is not there due to "visibility: hidden;" being set.

comment:4 Changed 9 years ago by Jakub Ś

We know that CKEditor didn't work on mobiles because it was disabled. User doesn't mention the fact that he enabled the editor (I assume he would if he did).

Ok, there might be some extra error thrown or something else weird happening however I don't have any way to check it. I have tested CKEditor 4.5.3 standalone as well as embedded into ASP.NET connector and it worked as expected. That is why I have decided to close this ticket.

User should first check latest CKEditor 4.5.3 where he doesn't have to enable anything. I'm guessing it will work and if it doesn't, we will continue from there.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy