Tiny MCE adding custom HTML tags

前端 未结 2 1107
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-05 01:10

I am using Tiny 4.3.3 for MODx I need to add a

Some randome Input text by the user

2条回答
  •  星月不相逢
    2020-12-05 01:40

    First of all you will need to modify the tinymce setting valid_elements and valid_children to your needs (add em to the valid_elements and em as child to the tags desired (probably p) to valid_children).

    Second you will need an own plugin with an own drop down or button to insert this code.

提交回复
热议问题