Answer the question
In order to leave comments, you need to log in
Finishing TinyMCE?
Good afternoon!
There is the following task:
Add a button to the editor panel, when clicked, a window for loading a file opens. After loading the file, the script returns a string, which I give in the content field.
I think it is necessary to write a plug-in for the editor. Is there a ready solution? Or tell me where to dig.
Answer the question
In order to leave comments, you need to log in
There is a ready-made example module in the delivery, add it to the
plugins launch code: “example,”
theme_advanced_buttons1: “example,
A button T will appear in the very left corner, its contents are in plugins/example/dialog.htm, the module config is also there. Fasten the file upload and you're done.
I saw similar questions on the TinyMCE forum, but they remained unanswered, apparently you need to write a plugin, see how ready-made ones work: www.tinymce.com/wiki.php/Buttons/controls
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question