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)
Change History (3)
Changed 11 years ago by
Attachment: | ckeditor-bug.txt added |
---|
comment:1 Changed 11 years ago by
Keywords: | Chrome removed |
---|---|
Status: | new → pending |
- CKEditorJava is quite old now and we plan to renew it in near future. What you could do for now is renewing client-side.
- Just download CKEditor Java war file and CKEditor JavaScript 4.2.
- Extract CKEditor JS to ckeditor folder.
- Go to war file and exchange ckeditor folder. That way you will have newest client-side.
- I have mentioned this because this might simply be older version issue and once updated it can be gone.
- 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
Resolution: | → expired |
---|---|
Status: | pending → closed |
Details the issue with code snippet.