Import from Word 1.9.0
The excitement of releasing the brand-new Import from Word didn’t even settle yet, and we are already happy to announce another batch of improvements!
# Improved detection of many existing features
With this release, we aimed to provide many important fixes that help to preserve formatting closer to Word documents:
- Fixed an issue where in rare cases the imported tables had incorrect width sizes. Now, all tables should be the same width as in Word documents.
- Fixed an issue where in rare cases the text background turned black, making the content unreadable.
- Improved the detection of suggestions that are applied to a link spanning over multiple blocks. These suggestions caused links to disappear from the produced HTML.
- Improved emoji groups detection, resulting in better support for emojis that consist of multiple separate emoji parts, like 👩👩👧👧.
# Significantly reduced the HTML payload
The performance of Import from Word is critical, as one of the many use cases for the service is the automation of Word documents conversion on the backend. During such tasks thousands of documents are converted hence we strive to deliver a product that is highly optimized, allowing for conversion of large Word documents in less than a second.
The latest release comes with HTML payload optimization, significantly reducing the size of the HTTP response, which translates to quicker communication between the API consumer and the REST API service.
One of the important optimizations includes a better algorithm for merging CSS properties that include shorthand properties – borders, margins, and paddings, among others. As an example, a table element including four equal side borders:
border-right, will be optimized to a single CSS property
<!-- before the optimization --> <table style=" border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000; " > <!-- after optimization --> <table style="border: 1px solid #000000">
# Configurable comments’ formatting
Before, Import from Word allowed preserving all comments’ formatting without the ability to configure this option. This release introduces the
collaboration_features.comments_styles configuration option, allowing the integrator to choose whether all comments’ styles should be preserved, or if only specified styling (or none) should to be supported. These options are:
none- do not preserve any comment formatting
basic- preserve only bold, italic, underline, and strikethrough
full- preserve every possible comment formatting
Refer to the feature documentation for more information on how to use these options.
# Obtaining Import from Word
Import from Word is a commercial solution. Please check the pricing if you would like to purchase a license.
You can also sign up for the non-commitment CKEditor Premium Features 30-day free trial.
# Support and feedback
Refer to the extensive Import from Word documentation in case of any needs.