Display custom tag in TinyMce WYSIWYG view

I have a set of custom tags in my application that abstract some of the common system tasks.

I use TinyMCE as my HTML editor and want to be able to display my own tag as an image in the editor when in the WYSIWYG view. Similar to TinyMCE built-in behavior for SWF files.

Is there an easy way to do this in TinyMCE?

UPDATE:

Custom tags seem to almost not work in TinyMCE. It seems like the problem is that my tags have a namespace:

<o:some_tag />

This causes all kinds of problems.

Is there an editor that better supports this feature?

+3
source share
3
+3

, . Tinymce extended_valid_elements. , , , ,

+1

, - ( , ). yoy .

0

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


All Articles