Opened 17 years ago
Last modified 13 years ago
#1376 closed New Feature
"disabled" R/W property — at Initial Version
Reported by: | Alfonso Martínez de Lizarrondo | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 3.6 |
Component: | General | Version: | 3.5.2 |
Keywords: | IBM Confirmed | Cc: | saul11@…, Damian, joek, satya_minnekanti@…, fredrik@… |
Description
Like other input text controls on forms (<textarea>, <input type="text">, etc) FCKeditor need a new property on JavaScript API.
Something that can be change at runtime in this way:
var oEditor = FCKeditorAPI.GetInstance('instance_name'); oEditor.disabled = true;
This new property must be R/W (like those coresponding to <TEXTAREA>, <INPUT TYPE="TEXT"> from DOM).
This property must take a boolean value: true (by default), false;
Setting this property to "true" must freeze the toolbar too, not only the editor area.
The other hidden fields related to the editor must be treated in the same way.