How can I remove p tags that are auto added within tinymce

前端 未结 11 1910
挽巷
挽巷 2020-12-06 04:46

I am using tinymce 4.0.1 and it automatically adds p tags when you either start typing or hit enter. How can I dynamically remove these p tags and then reinsert the content

11条回答
  •  心在旅途
    2020-12-06 05:08

    You can remove "p" tag by adding forced_root_block : false to your tinymce setup or you can hide the status bar by statusbar: false

提交回复
热议问题