As you can disable the <textarea disabled>...</textarea> component, I would like to disable the editor of the editor, but still display it on my page.
I would expect Redactor to read the disabled attribute in the text box that I initialize, and disable the editor as needed, but it does not work and instead creates a fully functional editor.
<textarea class="redactor" disabled></textarea> ... <script type="text/javascript"> $(function () { $('.redactor').redactor(); }); </script>
Is there an additional API command or workaround that I can use to create a disabled editor? An easy way to disable and enable it would be preferable. I can not find anything in the Redactor documentation or API on how to do this.
I am using Redactor 9.1.9, but I am ready to upgrade if necessary. Thanks!
Lea
source share