ratmalwer
ratmalwer

Reputation: 735

Tinymce: allow userdefined tags

Tinymce is removing unknown tags. I want to use userdefined tags, but I did not find the allowed Tags and their rules defined in Tinymce 4 to adjust it? I want insert my own tags with the function: tinyMCE.activeEditor.dom.create, so tiny adds and accept it like the mark-Tag:

<mark>Mytext</mark>

so it should look like this

<user-tag>Mytext</user-tag>

Upvotes: 0

Views: 175

Answers (1)

Thariama
Thariama

Reputation: 50840

You should have a closer look into the documentation. Try custom_elements.

Upvotes: 1

Related Questions