Вопрос

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