ckeditor5 icon indicating copy to clipboard operation
ckeditor5 copied to clipboard

The table border style is not being preserved in the export to Word function

Open mtevangelista7 opened this issue 1 year ago • 2 comments

📝 Ask a question

I would like to know if there is a way to use the Word import function, whether through REST or a direct button in the editor, while preserving all the border styles of a table.

I've tried several methods, but regardless of the style applied to the table borders, the generated DOCX always comes with the same default border.

The main requirement is a table with external borders but no borders for the columns. I haven't found any solution that doesn't involve manually modifying the generated XML.

So, I wanted to know if there is any other way, such as a specific plugin, or if the REST service truly cannot achieve this. Additionally, is there any forecast for the implementation of this improvement?

For the examples, I used the documentation from: CKEditor Export to Word.

Illustrating:

  • Editor

issue-editor

  • Border Styles

issue-editor-options

  • DOCX

issue-word

  • I'd like something like that

issue-expect

mtevangelista7 avatar Jul 26 '24 11:07 mtevangelista7

Sorry, but I still have doubts. These two tasks solve issues in the editor, but regarding the REST service export to Word, is this really a limitation? Can't we keep the border styles defined in the editor?

mtevangelista7 avatar Jul 30 '24 11:07 mtevangelista7

Hi, as this is connected with premium features, please always contact support first.

I summed up the issues in https://github.com/ckeditor/ckeditor5/issues/16810.

AFAIR, next week we plan to update the export to word to handle tables better, still most likely you would need to implement this solution until we merge it to the editor. Stay tuned!

Witoso avatar Jul 30 '24 11:07 Witoso

There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.

CKEditorBot avatar Jul 30 '25 23:07 CKEditorBot

We've closed your issue due to inactivity. We understand that the issue may still be relevant. If so, feel free to open a new one (and link this issue to it).

CKEditorBot avatar Aug 29 '25 23:08 CKEditorBot