I have a form that has a tinyMCE editor on its textarea.
I post form content using Ajax.
I need to disable editor and its textarea (disabling I mean and not removing it) while Ajax code is working.
How can do it?
Thanks
I have a form that has a tinyMCE editor on its textarea.
I post form content using Ajax.
I need to disable editor and its textarea (disabling I mean and not removing it) while Ajax code is working.
How can do it?
Thanks
Copyright © 2021 Jogjafile Inc.
For this use case you will need to apply the class
mceButtonDisabledto thea-element of your button. Tinymce will then take care of the greying-out.