当前位置:网站首页>tinymce 去掉编辑器换行默认增加的p标签
tinymce 去掉编辑器换行默认增加的p标签
2022-07-21 07:38:00 【*且听风吟】
问题:tinymce
编辑器里面使用回车换行后会自动添加p
标签。
解决方法:增加forced_root_block
这个属性,替换为空后,换行就没有p
标签了。
格式:
forced_root_block: '', // 删除在tinymce中自动添加的p标签
如下图:
设置前:
设置后:
边栏推荐
- 【集训DAY8】Interesting Number 【数位DP】
- Mysql07(数据更新DML)
- 数据库连接池
- Advantages and disadvantages of Tongniu computer room project
- 【JVM】垃圾收集器的选择
- Houdini building rigid body area influence breaking notes
- Leetcode [sword finger offer II 068. find the insertion position
- lua环境配置
- 47: Chapter 4: developing file services: 8: automatic image review (Alibaba cloud content security); (don't read it if you haven't written it yet; to be written...)
- Spa single page learning and understanding
猜你喜欢
Learn the necessary tools of automation selenium think about automated testing in the pit again
Niu Ke brushes question 01 - Kiki de duplication of integers and sorting (C language)
weirdo The interview topics include toilet habits, eating time and sleeping time
[wechat applet] solve the problem that the code upload exceeds the size limit and the applet is subcontracted
easyexcel简单使用
1306_ Comparison test of resource usage of two open source printf
氟尼辛肽核酸寡聚体复合物|规活性基团Alkyne炔烃,SH Thiol炔基修饰肽核酸
[terminal _1]-xshell 5 the hottest terminal software!
Jupyterhub配置Go环境
Advantages and disadvantages of Tongniu computer room project
随机推荐
A collection of style problems of uniapp applets using the u-view framework
Appium脚本启动参数如何设置
lua环境配置
Mysql04(行专列)
Laike can optical transceiver solves the problem of fire networking of linked fire engines such as Fu'an fs5216/fs5116
Mysql06 (sequence)
Appium元素定位——App自动化测试
转载:CAN总线终端电阻
【集训DAY10】Silly【模拟】【贪心】
Mysql03(关联查询)
04-1、默认成员函数:构造函数、析构函数
List parsing < STL elementary > (runner's notes)
【sciter】:窗口通信
【集训DAY8】Tent【数学】【DP】
44: Chapter 4: develop file service: 5: integrate fastdfs in [files] file service to realize the logic of [upload avatar]; (including: integrating fastdfs in the project; cross domain issues; creating
mysql数据恢复
【集训DAY6】Dream【优先队列】【贪心】
Word2vec simple summary
The classification of artificial neural network includes: the classification of artificial neural network includes
Pipeline operators in mongodb ($group, $unwind, $sort, $limit, $skip)