CKEditor(HTML 编辑器)的问题
有谁知道 CKEditor,我已将此应用程序集成到我的网络应用程序中。我面临的问题是,当我将网页与CKEditor集成时,
CKEDITOR.replace( 'webpage_parent_div_ID' );
它只采用正文innerHTML,不包括CSS和CSS。我的网页的 .js 文件(网页的 部分中描述的 css 和 js 文件)。我知道 js & css 文件可以包含在 CKEditor 中,但无法弄清楚。
有人可以给我一些想法吗?
提前致谢。
Does anybody know about CKEditor, I have integrated this application in my web app. The problem i am facing, when i integrate the web page with CKEditor,
CKEDITOR.replace( 'webpage_parent_div_ID' );
it's only taking the body innerHTML and doesn't include the CSS & js files ( css & js files described in web page's <head>
part) of my web page. I know js & css files can be included in CKEditor but not able to figure it out.
Can someone give me idea about it.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
要包含 CSS,您可以使用其中之一
来自文档: http:// /docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.contentsCss
To include CSS you can use one of these
From the documentation: http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.contentsCss