Unplanned
Last Updated: 09 May 2025 11:33 by ADMIN
Mihajlo
Created on: 08 May 2025 13:51
Category: RichTextEditor
Type: Bug Report
0
RadRichTextEditor: Column width is reset when saving RTF doc with merged columns

Open the "First Look" demo app for rich text editor. Delete all the text. Insert a table with 5 columns and 2 rows. Select first 2 columns (4 cells in total). Merge these cells. The merged cell should have the width of 2 normal columns. Save this document as RTF. Open the document. The width of all columns is wrong. The merged cell now is wide as one normal column.

It seems that two issues are combined into one problem. First, two merged columns are converted into one column. If I try to split the merged cell before the save I get my two columns back, but after the save there are only two rows after the split, but only one column. Second, the "AutoFit to Window" option is messing with the column widths. If I set the table to "Fixed Column Width" then the table remains unchanged after reload. But this option doesn't work if the merged cell is selected. Must unselect it first, or change the option before the merge. But this minor annoyance is not the part of this bug report.

1 comment
ADMIN
Dinko | Tech Support Engineer
Posted on: 09 May 2025 11:33

Hi Mihajlo,

Thank you for the provided steps. 

I was able to observe the described behavior. Indeed, the column merge number is not saved correctly when exporting the document into RTF format. I can confirm that this behavior is unexpected, and I will approve the feedback item. I am guessing that the second behavior is related to the first one. It will be taken into account while introducing a fix.

I have tested the same approach by exporting the document into DOCX, and the merged column number is preserved. When we unmerge the column back to two columns, their width does not match the other columns. If I select the fixed column width option, everything goes back as it was at the beginning. Exporting the DOCX still has some corner cases that need to be handle, yet it behaves better than exporting it to RTF.

Your Telerik Points are updated for bringing this to our attention.

Regards,
Dinko | Tech Support Engineer
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.