Opened 2 years ago

Closed 2 years ago

#16765 closed New Feature (invalid)

Rich text in Word document template

Reported by: Avikumar Owned by:
Priority: Normal Milestone:
Component: QA Version:
Keywords: Cc:

Description

When i update one of content control with rich text data generated through CK Editor in word document through code, the data is getting populated with plain native html tags and not as the same data shown in CK Editor. I agree data when placed in CK Editor saves as plain html tags in db. Can you please let me know if you have any solution or any of CK Editor User came across with this same kind of issue.

Change History (1)

comment:1 Changed 2 years ago by Jakub Ś

Keywords: Format in Word Document removed
Resolution: invalid
Status: newclosed
Version: 4.6.2 (GitHub - master)

I agree data when placed in CK Editor saves as plain html tags in db.

That is incorrect. If you are creating HTML tags with attributes, inline styles etc. they will get populated unless you have some sort of server-side filter which removes them.

If you have all the styles in CSS then it is important to use the same CSS for CKEditor as for target page (page where saved HTML from CKEditor will be used).

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy