does anybody know, how to make jQuery work in ckeditor plugin ? I created a plugin and I loaded it in ckconfig.jsp
CKEDITOR.config.extraPlugins = 'myPlugin';
But the problem is that jQuery-1.4.4.min that I load from liferay-plugins.xml (or in theme for the entire portal) isn’t loaded in global context when the plugin executes. I can use jquery everywhere within portal successfully, but not in ckeditor plugin. The initialization of ckeditor is kinda complex and I don’t see how to do it.
The ckeditor.jsp, which is included from tag, contains the entire HTML document with etc. So that all third party javascripts, that are available for ckeditor, are those included in ckeditor.jsp’s head section.
so that it should be as follows (ckeditor.jsp):
And jquery will be available for ckeditor plugins.