CKeditor-如何附加<;文章>;标记到可编辑内容体?
尝试在CKeditor主体内添加CKeditor-如何附加<;文章>;标记到可编辑内容体?,ckeditor,Ckeditor,尝试在CKeditor主体内添加标记,如下所示: <iframe frameborder="0" src="" style="width: 100%; height: 100%;" class="cke_wysiwyg_frame cke_reset" title="Rich Text Editor, editor1" aria-describedby="cke_50" tabindex="0" allowtransparency="true"> <html lang=
标记,如下所示:
<iframe frameborder="0" src="" style="width: 100%; height: 100%;" class="cke_wysiwyg_frame cke_reset" title="Rich Text Editor, editor1" aria-describedby="cke_50" tabindex="0" allowtransparency="true">
<html lang="en" dir="ltr">
<body spellcheck="false" class="cke_editable cke_editable_themed cke_contents_ltr" contenteditable="true">
<article> <!-- Add this -->
<p>Content</p>
</article> <!-- Add this -->
</body>
</html>
</iframe>
内容
找不到如何将其输入编辑器。关于如何进行此操作的任何提示?如果仅在编辑器输出数据中添加该标记,您会满意吗?这将违背所见即所得编辑器的目的;希望编辑器主体与使用相同样式表的前端上的输出完全相同。为什么不使用它呢?它是为不懂HTML的外行/用户提供的。每次向编辑器主体添加
标记都会很麻烦。