J
J
Johnny Show2018-11-09 17:55:01
TinyMCE
Johnny Show, 2018-11-09 17:55:01

How to edit media plugin in tinymce?

I want to add a button for loading an image in the drop-down window of the media plugin in Tinymce, and also change the construction of the code so that after adding the image, as well as the video in the
"Source" input of the drop-down window, the plugin does not build the code, for example:

<iframe src="//www.youtube.com/embed/ymq1WdGUcw8" width="560" height="314" allowfullscreen="allowfullscreen"></iframe>
, and change it to your own, for example, wrap it in
<a href=""//www.youtube.com/embed/ymq1WdGUcw8"><img src="image.jpg"/></a>

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question