#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
Keywords: | setReadOnly IE removed |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Version: | 4.4.3 |
comment:2 Changed 10 years ago by
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().
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.