简体   繁体   English

如何使用jQuery插件在TinyMCE中设置/取消跳动?

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

I'm trying to manually set throbber on TinyMCE editor using jQuery plugin. 我正在尝试使用jQuery插件在TinyMCE编辑器上手动设置throbber。 Tried like that: 像这样尝试:

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

but no luck - Firebug says only: 但没有运气-Firebug只说:

1

and nothing happens. 并没有任何反应。 setContents() works just fine. setContents()可以正常工作。 How to show/hide the throbber? 如何显示/隐藏rob子?

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

works fine for me. 对我来说很好。 The whole tinymce editor instance gets light grey and when performing 整个tinymce编辑器实例在执行时变为浅灰色

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

it gets the same grey as before. 它的颜色和以前一样。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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