Opened 9 years ago

Closed 9 years ago

#12106 closed Task (invalid)

in browser formatted text...

Reported by: SJR Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:



Formatted text shows up fine in the web design mode. However, once viewed in the browser, the formatted text displays briefly, then quickly defaults defaults to plain text.

Any ideas on how to fix this problem. The site is a ASP development site using HTML5 code and C# as the base code.

I am not the programmer but the designer and trying to see if there is a fix that I can implement.

Thank you Stanley (SJR) sjr@…

Attachments (2)

Change History (3)

Changed 9 years ago by SJR

Attachment: design-mode-ckeditor.png added

comment:1 Changed 9 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

Please bear in mind that styles in CKEditor should be the same as those used for target page.

For classic iframed editor these styles are kept by default in ckeditor/contents.css plus there are styles defined for styles dropdown in ckeditor/styles.js (!/guide/dev_howtos_styles). For inline editor these styles are main page styles.

This is important because styles (which are in separate files) aren't submitted when you send your form.

When editor is in non-full-page mode then only its body contents get transferred (in fact this is what you edit) When editor is in full page mode then whole document gets send. If this document contains any links to css styles in head section or contains some rules in head section they get send as well but external css files doesn't get send. This is why it is important to have same styles for CKEditor and target page where contents from editor will be inserted.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy