tinymce jquery version vs jquery plugin
What is the difference between tinymce jQuery version and tinymce jQuery plugin? Are there any functionality differences? What are some criteria for deciding which one to开发者_开发百科 use?
One big difference is performance!
I found out that the internal handling of keystrokes (checks and functions) of the jquery tinymce build is 4 times slower than the handling in the regular tinymce build (tiny_mce.js
). This had a big impact on a project i had been working on where performance was a crucial aspect and lots of addional checks and functions had to be added in order to press tinymce to the users desires. Now i use jQuery as library + the regular tinymce build -> works great.
As far as I know the tinymce jQuery version is just a bit smaller than the "normal" version, because they use the libraries which are redundant with jquery directly from jquery.
So there shouldn't be any differences between the jquery version and the "normal" version.
The jquery plugin on the other hand lets you do things like this:
$('textarea.tinymce').tinymce();
So if you intend to use the jquery plugin you are most propably save to use the tinymce jquery version.
精彩评论