diff --git a/core/modules/ckeditor5/ckeditor5.module b/core/modules/ckeditor5/ckeditor5.module index 6ae273e7cd..b6c0cbfd74 100644 --- a/core/modules/ckeditor5/ckeditor5.module +++ b/core/modules/ckeditor5/ckeditor5.module @@ -505,6 +505,12 @@ function ckeditor5_ckeditor5_plugins() { 'enabled_callback' => TRUE, ); + // @see https://ckeditor.com/docs/ckeditor5/latest/features/pasting/paste-from-google-docs.html + $plugins['pasteFromOffice.PasteFromOffice'] = array( + // @todo: Provide a configuration option to toggle. + 'enabled_callback' => TRUE, + ); + // @see https://ckeditor.com/docs/ckeditor5/latest/features/tables/tables.html $plugins['table.Table'] = array( 'buttons' => array( diff --git a/core/modules/ckeditor5/tests/ckeditor5.test b/core/modules/ckeditor5/tests/ckeditor5.test index 6a76ad9caf..f9273caa60 100644 --- a/core/modules/ckeditor5/tests/ckeditor5.test +++ b/core/modules/ckeditor5/tests/ckeditor5.test @@ -106,6 +106,7 @@ class CKEditor5TestCase extends BackdropWebTestCase { 'image.ImageCaption', 'essentials.Essentials', 'autoformat.Autoformat', + 'pasteFromOffice.PasteFromOffice', 'paragraph.Paragraph', 'htmlSupport.GeneralHtmlSupport', 'backdropHtmlEngine.BackdropHtmlEngine', @@ -134,6 +135,7 @@ class CKEditor5TestCase extends BackdropWebTestCase { 'image.ImageCaption', 'essentials.Essentials', 'autoformat.Autoformat', + 'pasteFromOffice.PasteFromOffice', 'paragraph.Paragraph', 'htmlSupport.GeneralHtmlSupport', 'backdropBasicStyles.BackdropBasicStyles',