我可以将输入限制为ck编辑器

时间:2014-12-17 11:36:54

标签: ckeditor

我是ck-editor软件的新手,我想问一下是否可以通过以下方式“限制”ck-editor的输入:

我有一个XML文档正在浏览器中显示。它不是作为XML显示,而是作为文本显示(没有标记)。例如,我有类似的东西:

内在表示:

<span type="container" id="_92031310" class="widget container "> 
  <span type="p" class="widget p " id="">text content here...</span>
</span>

在屏幕:

text content here...

如果我在这个元素(容器)上打开ck-editor,我只看到文本内容。当我在内容的末尾单击鼠标以添加新文本时,它会显示在最后结束的跨度之间。例如:

<span type="container" id="_92031310" class="widget container "> 
  <span type="p" class="widget p " id="">text content here...</span>
  new text content here (how to restrict that?)
</span>

而是在'...'字符串之后添加。

可以在ck-editor中配置此限制吗?

0 个答案:

没有答案
相关问题