简体   繁体   中英

How to set/unset throbber in TinyMCE using jQuery plugin?

I'm trying to manually set throbber on TinyMCE editor using jQuery plugin. Tried like that:

$('textarea.tinymce').tinymce().setProgressState(1);

but no luck - Firebug says only:

1

and nothing happens. setContents() works just fine. How to show/hide the throbber?

tinymce.editors[0].setProgressState(1);

works fine for me. The whole tinymce editor instance gets light grey and when performing

tinymce.editors[0].setProgressState(0);

it gets the same grey as before.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM