【问题标题】:CKEditor v3 not wrapping text in <p> tags when pasting into the editor粘贴到编辑器时,CKEditor v3 不会在 <p> 标签中换行
【发布时间】:2012-05-28 13:09:01
【问题描述】:

在将文本粘贴到编辑器中时,是否可以强制 CKEditor HTML 编辑器将段落标签包裹在内容周围?

我正在运行 3.6.1 版

【问题讨论】:

标签: php javascript ckeditor html-editor


【解决方案1】:

那是不同的。通常人们想要关闭强制

标签,而不是打开它们,因为它们在 CKEditor 中默认是打开的。尝试在 config.js 中使用此代码:

config.enterMode = CKEDITOR.ENTER_P;

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-07-01
    • 1970-01-01
    • 2014-03-29
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多