javascript - Insert an image into a tinymce editor -


I have a tinymce text box on my HTML page. Under this text box I have a table with my file system in which I can navigate to detect my pictures. I would like to be able to click on an image in this table and put it in the timetable box. How can I go about doing this?

I have used the command

  tinyMCE.execCommand (' MceInsertContent ', false,' & lt; img alt = "smiley face" height = "42" width = "42" src = "'+ sr +'" />);); After removing the URL from the   

image of src to insert an image into tinyMCE.

Note that you can tinyMCE image in CSS style command

Here it is.


Comments