Opened 10 years ago
Closed 10 years ago
#12106 closed Task (invalid)
in browser formatted text...
Reported by: | SJR | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
Hi,
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 10 years ago by
Attachment: | design-mode-ckeditor.png added |
---|
Changed 10 years ago by
Attachment: | browser-view-ckeditror-formatted -text.png added |
---|
comment:1 Changed 10 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
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 (http://docs.ckeditor.com/#!/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.