1.use https://ckeditor.com/ckeditor-5/online-builder/ Self purchase build, also add pastefromoffice
I hoped that the content format of word can be completely copied to ckeditor
As a result, the background color of the font and the middle of the paragraph were not copied
Here are some pictures




If you'd like to see this fixed sooner, add a 👍 reaction to this post.
Hi thanks for the report. I checked it and indeed we have a bug with background color here. This occurs when there are no tableProperties or tableCellProperties plugins in the editor, and I reported it in a separate issue. So the workaround here is, when using Online Builder, to add tableProperties or tableCellProperties plugins ( or both of them ).
As it comes to the alignment issue, you also need to add Alignment plugin, so that editor can use it on pasted content.
Hope that helps!
Hi @Mingscript, just to let you know - we've fixed the issue with pasting text containing background colour. Packages with the fix will be available after the release, i.e. next week.
您好,感谢您的举报。我检查了一下,确实这里有一个背景色错误。当编辑器中没有
tableProperties或tableCellProperties插件时,就会发生这种情况,而我在另一期中对此进行了报道。因此,这里的解决方法是,使用Online Builder时,添加tableProperties或tableCellProperties插件(或两者)。
对于对齐问题,您还需要添加Alignment插件,以便编辑器可以在粘贴的内容上使用它。
希望有帮助!
Hi thanks for the report. I checked it and indeed we have a bug with background color here. This occurs when there are no
tablePropertiesortableCellPropertiesplugins in the editor, and I reported it in a separate issue. So the workaround here is, when using Online Builder, to addtablePropertiesortableCellPropertiesplugins ( or both of them ).
As it comes to the alignment issue, you also need to addAlignmentplugin, so that editor can use it on pasted content.
Hope that helps!
Thank you. Another point is that in addition to the above mentioned alignment, the text size will not be pasted into ckedtior. This also needs to be added separately?
Hi @Mingscript, just to let you know - we've fixed the issue with pasting text containing background colour. Packages with the fix will be available after the release, i.e. next week.
thanks,One question is whether all the styles pasted from Word will be retained as long as I add pasteFromOffice, because now the background color, font size and paragraph center will not be retained.
Hi thanks for the report. I checked it and indeed we have a bug with background color here. This occurs when there are no
tablePropertiesortableCellPropertiesplugins in the editor, and I reported it in a separate issue. So the workaround here is, when using Online Builder, to addtablePropertiesortableCellPropertiesplugins ( or both of them ).
As it comes to the alignment issue, you also need to addAlignmentplugin, so that editor can use it on pasted content.
Hope that helps!
add tableProperties or tableCellProperties plugins ( both of them ).
But the font size and font family are not copied correctly. I have added both plugins

@Mingscript, can you reproduce mentioned issues after upgrading to the latest version (v21)?
As it comes to the font-family issue, it might be required to set supportAllValues property, you can learn more about it here.

Paste from office is not working in windows.
I'm using chrome