Creating an HTML source introduces a default value in tinyMCE

Im applying tinyMCE to the text area where I expect only embed videos to be inserted. Since this only works if the embed code is pasted into the HTML dialog (theme_advanced_button: "code"), I was wondering if I could make tinyMCE to enter the default HTML in the text area.

Can this be done? If so, how?

Thank!

+3
source share

Source: https://habr.com/ru/post/1786891/


All Articles