0

我正在运行 CKeditor 3 并注意到当我将表单字段粘贴到源并点击保存时。如果我然后重新加载页面并打开编辑器,表单标签已被 ap 标签替换。

如何在不升级到 ckeditor4 的情况下解决此问题?

4

2 回答 2

0

Its an issue of browser, and not a CKEditor: http://dev.ckeditor.com/ticket/8590 . As a short conclusion, here is the quote:

If browser strips down the nested form then this means that CKEditor receives this reduced code. There is no way CKEditor can get to that code before the browser so it simply does not know about the missing form tag.

于 2012-12-18T12:26:29.083 回答
0

如果您使用的是 DIV EDIT CONTAINER 插件,这可能是您的问题。

下载标准 CKeditor 包。安装。编辑页面。转到源视图。输入表单标签、输入字段和关闭表单标签。退出源视图,然后返回源视图。没问题。

返回 CKeditor 下载器并添加 DIV EDIT CONTAINER 插件。重复上述步骤。注意 form 标签是如何被变形为 ap 标签的。

这太糟糕了,因为我喜欢能够使用站点范围的样式表来编辑页面。

于 2015-11-06T19:41:04.247 回答