[英]Auto format replace Tag <p> to <ul><li> in tinymce when enter.why? and config?
I have one content Code HTML in tinymce if have dash content top row 如果在首行中有破折号内容,我在tinymce中就有一个内容代码HTML
<p>- body content</p>
When enter in tinymce then code html it becomes 当在tinymce中输入代码html后,它变成
<ul><li>body conten</li><li></li></ul>
if 如果
<p>body content</p>
then enter no problem .why so ? 然后输入没有问题。为什么?
Do you have the text pattern plugin loaded? 您是否已加载文本模式插件?
https://www.tinymce.com/docs/plugins/textpattern/ https://www.tinymce.com/docs/plugins/textpattern/
The dash is markdown syntax for a list so perhaps you either have that setup via textpattern or some other plugin is doing this? 破折号是列表的markdown语法,因此也许您是通过textpattern进行了设置,还是其他某个插件正在执行此操作?
Note: TinyMCE by itself won't make that conversion so this is either a configuration issue, a plugin issue, or a server side code issue. 注意:TinyMCE本身不会进行转换,因此这可能是配置问题,插件问题或服务器端代码问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.