Hi,
According to the documentation of the Texteditor extension the 'disable' method will disable the texteditor component and the 'readonly' method enables or disable the readonly mode. However, both commands below show the same behaviour. Whether I use the 'readonly' method or 'disable' method or both, the text cannot be edit, but the texteditor buttons are not greyed-out and can still be clicked, see figure (though no command is executed, so that is good).
So I wonder, what is the difference between the two?
I would expect that with the 'disable' method the texteditor buttons would be greyed out and can't be clicked (comboboxes remain closed) like in the 2nd figure below.
$('#te').texteditor('readonly', true);
$('#te').texteditor('disable');