Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#12299 closed Bug (invalid)

Not able to set readonly in IE

Reported by: Raghav Owned by:
Priority: Normal Milestone:
Component: Core : Read-only Version:
Keywords: Cc:

Description

I am working on a angular C K Editor directive and I have a requirement which needs to enable or disable CK Editor dynamically depends on condition.Most of the browsers are supporting this feature except IE. Below is the code for enabling or disabling

CKEDITOR.on("instanceReady", function () {

CKEDITOR.setData(ngModel.$modelValue); if (attr.isReadOnly) {

CKEDITOR.setReadOnly(isReadOnly);

}

});

Please help on this.

Thanks, Raghav

Change History (2)

comment:1 Changed 10 years ago by Jakub Ś

Keywords: setReadOnly IE removed
Resolution: invalid
Status: newclosed
Version: 4.4.3

I have checked this in default CKEditor and it works without problems (you can check readonly sample in full package).

I'm closing this issue as invalid but if you don't agree please provide reduced HTML file that can be put in CKEditor samples folder and will show this issue.

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

The code quoted in the ticket description is incorrect. Please check error console - there's no setReadOnly method on CKEDITOR object. It's editor's method. The same with setData().

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