【发布时间】:2012-03-16 12:49:29
【问题描述】:
我想问一下是否有办法在CKEditor 中禁用HTML 源代码的缩进格式。我不想格式化 HTML,因为我想将它存储在数据库中,并且不需要额外的字符(换行符和空格)。我只想要没有空格和线条的原始 html。
例如 CKEditor 中的 HTML 输出是
<p>
test 1</p>
<p>
test 2</p>
<p>
test 3</p>
但我需要的是
<p>test 1</p><p>test 2</p><p>test 3</p>
【问题讨论】:
标签: ckeditor ckeditor.net