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