Hi, not sure if this is a bug or something I should change/do with the CKEditor extension but when you create a UserControl with a CKEditor and set the Enabled property of that UserControl to False it doesn’t disable the CKEditor.
Version used is 2.5.24
Attached a sample
Thanks Vincent
Hi Vincent,
not a bug, the Enabled property is just not wired to the custom editor.
But it´s up to you to handle it. You can e.g. handle the EnabledChanged event and set the readonly property of the CKEditor instance accordingly.
Since Enabled and ReadOnly in general are not necessarily the same, we don´t wire it automatically.
Please find a simple sample attached.
Best regards
Frank
Thanks, I will give it a go. I recently learned how to wire events (I added the KeyUp event in the CKEditor, also noticed that had also been done on github now a few weeks ago).
Even tho its not a bug, when you “see” the enabled parameter one might think it actually does something. I do know thats now how it works with extensions 🙂
Thanks for the sample!
Vincent
Please login first to submit.