In addition to import from Word, there is a simpler paste from Office plugin that lets you paste content from Microsoft Word while maintaining its original structure and formatting. However, these two solutions differ in many ways.
The paste from Office and paste from Office enhanced features allow you to paste content from Microsoft Word into your CKEditor 5 WYSIWYG editor and maintain the original structure and formatting. After creating a document in Microsoft Word you can copy it to CKEditor 5 and retain basic text styling, heading levels, links, lists, tables, and images – as long as these features are supported by the editor itself.
Suitable for small documents and for use cases in which only parts of the document are selected and copied.
Relies on OS Clipboard HTML, which limits the number of supported features.
Preserves the original DOCX formatting that was selected and copied by hand.
Simple, intuitive, but cannot be used to automate the migration process of many Word documents via the REST API.
This operation is fast and easy, but can only be done manually.
The import from Word service can be automated and does not require the presence of the WYSIWYG editor, nor human supervision to convert files. Compared to paste from Office, import can work with any content formatting and is not limited by features supported by the editor.
Allows for converting large documents into HTML that can be easily imported to CKEditor 5 and other tools.
Operates directly on XML, which includes more information about the document and Word instance settings.
Available as a CKEditor 5 plugin and as a REST API for a direct server-to-server conversion.
Available both as a SaaS service and as an on-premises solution.
Suitable for migration of the whole database of Word documents to HTML via a REST API service.
Perfect solution for more advanced documents that need to be edited or displayed in the browser.
Supports collaboration features like track changes and comments out of the box.
The following tables compare the features of the paste from Office and paste from Office enhanced CKEditor 5 plugin and the import from Word feature. For a more detailed import from Word features overview, refer to the content formatting guide.
⚠️ Import: Track changes for unsupported features will preserve the original content of the author’s suggestion. However, they will not be recognized as proper track changes suggestions. As an example, if a user adds a table using track changes, the table will be output in HTML, but it will not be marked as a suggestion. That limitation is going to be fixed soon, with upcoming import From Word releases.
⚠️ First line indentation, hanging indentation, line height, paragraph spacing, and paragraph borders are only supported with the General HTML support feature enabled.
⚠️ Import: Support for multi-level lists with X level of tabulation shifting is now available. Please be aware that marker continuation from previous levels (for example, 2.1, 2.2) is not supported for now.
To better understand the differences between these two products, it is worth learning how both features work on a technical level. In paste from Office, the editor uses the operating system’s clipboard, which is fed with Microsoft Word content in HTML upon copying it from the document. That HTML is delivered by the Word application itself and includes the essential formatting of the document. When the user pastes something from a Word document, CKEditor 5 cleans that HTML up and makes it semantically correct, so it can be consumed by the editor. However, that operation has its limitations, as CKEditor 5 is only able to understand as much content as it gets from the clipboard and depends entirely on the clipboard implementation of the Microsoft Word application.
The import from Word feature does not have this limitation. As it has direct access to the document, it can retrieve as much information from the document as Word. Therefore, it is possible to support things like collaboration features, document settings, and others, which would not be available when operating on clipboard content only. We are no longer limited by the Microsoft Word application and thanks to that, import from Word produces a more advanced HTML than Paste from Word.
This is a list of all CSS properties that are properly converted by the import from Word feature, but will not work by default in CKEditor 5 and require the General HTML Support (GHS) feature.
Every day, we work hard to keep our documentation complete. Have you spotted outdated information? Is something missing?
Please report it via our issue tracker.
With the release of version 42.0.0, we have rewritten much of our documentation to reflect the new import paths and features.
We appreciate your feedback to help us ensure its accuracy and completeness.