|
@@ -1,6 +1,6 @@
|
|
|
---
|
|
---
|
|
|
menu-title: Paste from Word
|
|
menu-title: Paste from Word
|
|
|
-category: features
|
|
|
|
|
|
|
+category: features-paste-from-office
|
|
|
---
|
|
---
|
|
|
|
|
|
|
|
{@snippet features/build-paste-from-office-source}
|
|
{@snippet features/build-paste-from-office-source}
|
|
@@ -17,9 +17,13 @@ When the plugin is enabled, it automatically detects Word content and transforms
|
|
|
The Paste from Office plugin only preserves content formatting and structures that are included in your CKEditor 5 build. This means that you may need to add missing features such as font color or text alignment to your build. Read more in the [Automatic content filtering](#automatic-content-filtering) section below.
|
|
The Paste from Office plugin only preserves content formatting and structures that are included in your CKEditor 5 build. This means that you may need to add missing features such as font color or text alignment to your build. Read more in the [Automatic content filtering](#automatic-content-filtering) section below.
|
|
|
</info-box>
|
|
</info-box>
|
|
|
|
|
|
|
|
|
|
+<info-box info>
|
|
|
|
|
+ The {@link module:paste-from-office/pastefromoffice~PasteFromOffice} plugin also allows you to paste content from Google Docs. See the {@link features/paste-from-google-docs "Pasting content from Google Docs"} guide to learn more.
|
|
|
|
|
+</info-box>
|
|
|
|
|
+
|
|
|
## Demo
|
|
## Demo
|
|
|
|
|
|
|
|
-To test how Paste from Office works, download the [sample Word document](../assets/CKEditor5.PFO.Sample.Recognition_of_Achievement.docx), open it in Microsoft Word, copy the content and paste it into CKEditor 5 below.
|
|
|
|
|
|
|
+To test how Paste from Office works, download the [sample Word document](../../assets/CKEditor5.PFO.Sample.Recognition_of_Achievement.docx), open it in Microsoft Word, copy the content and paste it into CKEditor 5 below.
|
|
|
|
|
|
|
|
{@snippet features/paste-from-office}
|
|
{@snippet features/paste-from-office}
|
|
|
|
|
|
|
@@ -56,7 +60,7 @@ ClassicEditor
|
|
|
|
|
|
|
|
## Support for other office applications
|
|
## Support for other office applications
|
|
|
|
|
|
|
|
-At the current stage, the focus of the `@ckeditor/ckeditor5-paste-from-office` package is on supporting content that comes from Microsoft Word. However, it does not mean that pasting from other office applications (such as Microsoft Excel or Google Docs) is not supported.
|
|
|
|
|
|
|
+At the current stage, the focus of the `@ckeditor/ckeditor5-paste-from-office` package is on supporting content that comes from Microsoft Word and {@link features/paste-from-google-docs Google Docs}. However, it does not mean that pasting from other office applications (such as Microsoft Excel) is not supported.
|
|
|
|
|
|
|
|
By default, CKEditor 5 will support pasting rich-text content from these applications, however, some styles and formatting may be lost, depending on the source application. Also, other minor bugs may appear.
|
|
By default, CKEditor 5 will support pasting rich-text content from these applications, however, some styles and formatting may be lost, depending on the source application. Also, other minor bugs may appear.
|
|
|
|
|
|
|
@@ -65,7 +69,6 @@ You can find more information regarding compatibility with other applications in
|
|
|
If you think that support for any of the office applications needs improvements, please add 👍 and comments in the following issues:
|
|
If you think that support for any of the office applications needs improvements, please add 👍 and comments in the following issues:
|
|
|
|
|
|
|
|
* [Support pasting from Excel](https://github.com/ckeditor/ckeditor5-paste-from-office/issues/23).
|
|
* [Support pasting from Excel](https://github.com/ckeditor/ckeditor5-paste-from-office/issues/23).
|
|
|
-* [Support pasting from Google Docs](https://github.com/ckeditor/ckeditor5-paste-from-office/issues/20).
|
|
|
|
|
* [Support pasting from Libre Office](https://github.com/ckeditor/ckeditor5-paste-from-office/issues/35).
|
|
* [Support pasting from Libre Office](https://github.com/ckeditor/ckeditor5-paste-from-office/issues/35).
|
|
|
* [Support pasting from Pages](https://github.com/ckeditor/ckeditor5-paste-from-office/issues/36).
|
|
* [Support pasting from Pages](https://github.com/ckeditor/ckeditor5-paste-from-office/issues/36).
|
|
|
|
|
|