Opened 11 years ago

Closed 11 years ago

#10735 closed Bug (expired)

Chrome: CKEditor allows editing of data in text area in read mode.

Reported by: ofss Owned by:
Priority: Normal Milestone:
Component: Server : Java Version: 3.6.4
Keywords: Cc:

Description

Hi,

We're using ckeditor for java in ADF & facing an issue on chrome browser. We're unable to render the ckeditor component in our screen as readonly in chrome. The behavior is not observed in internet explorer and firefox browser.

Version Information


CKEditor for java version 3.6.4 with the jar being ckeditor-java-core-3.5.3.jar


Scenarios:

First time the page loads, ckeditor loads in readonly mode with content editable as false.

Once the data is fetched from the DB and text area is populated with the data text, the CKEitor button remains disabled as expected, however text data editing area still allows the user to edit the data in chrome even as the component is coded to be readonly & disabled. This works properly in mozilla and IE.

Details of code snippets are attached in the file.

Thanks & Regards, Sumukh

Attachments (1)

ckeditor-bug.txt (3.7 KB) - added by ofss 11 years ago.
Details the issue with code snippet.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by ofss

Attachment: ckeditor-bug.txt added

Details the issue with code snippet.

comment:1 Changed 11 years ago by Jakub Ś

Keywords: Chrome removed
Status: newpending
  1. CKEditorJava is quite old now and we plan to renew it in near future. What you could do for now is renewing client-side.
    1. Just download CKEditor Java war file and CKEditor JavaScript 4.2.
    2. Extract CKEditor JS to ckeditor folder.
    3. Go to war file and exchange ckeditor folder. That way you will have newest client-side.
  2. I have mentioned this because this might simply be older version issue and once updated it can be gone.
  3. I didn't quite like the way you make editor readonly - it is enough to use CKEDITOR.instances.ckeditor.setReadOnly(), why do you use 3 other methods to do it as first one should be enough.

Please check above and tell me if you still get this issue. If yes then is it possible to provide a link to zip with sample small application that could download and see this problem on my own?

comment:2 Changed 11 years ago by Piotrek Koszuliński

Resolution: expired
Status: pendingclosed
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