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