سؤال

Using Joomla! 1.5.26 and JCE 2.1.3, the users can select several options (strings) from a popup and those options should be directly insert text in the JCE textarea where the cursor is.

How can I interact with the JCE content without creating a plugin?

هل كانت مفيدة؟

المحلول

tinyMCE.execCommand('mceInsertContent', false, '<strong>whatever you want!!!!</strong>');
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top