Insert an image into a tinymce editor

后端 未结 2 1501
慢半拍i
慢半拍i 2021-02-14 15:46

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 locate my images. I would like to be able to click o

2条回答
  •  遇见更好的自我
    2021-02-14 16:05

    The fiddle from user2314737 is broken. So I combine with Fei Hap Lee's solution to have working one.

            tinymce.activeEditor.insertContent('Smiley face');
    

    fiddle

提交回复
热议问题