开发者

CKEditor -- seeing styles in editor window

I'd like a true WYSIWYG experience from CKEditor, but it seems that since the editor operates in an iframe, there's no way to have the styes that clients apply to their items appear as they should per a site's stylsheet within the editor port. That is, for example, text given an H1 markup appear with the browser's default style, not the styles that I have 开发者_Go百科in my stylesheet.

Or is there a way to apply a stylesheet to the generated iframe that displays the editor instance?

Searches on "CKEditor styles" all turn up references to styling the editor (color scheme of the frame, etc.)


Use config.contentsCss = your stylesheet

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜