Opened 5 years ago

Closed 5 years ago

Last modified 5 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 5 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 5 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 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy