DocumentServer icon indicating copy to clipboard operation
DocumentServer copied to clipboard

Accepting a change in table cell with a Content Control can blank out the entire cell contents.

Open jdiller-arteria opened this issue 1 year ago • 2 comments

This issue is unique.

  • [X] I have used the search tool and did not find an issue describing my bug.

Operating System of DocumentServer

Docker

Version information

8.0.1

Expected Behavior

With Track Changes on, when you accept a change to the text, the new text should replace the original text.

Actual Behavior

The cell contents are deleted including both the original text and the changes. A series of small dot-like glyphs appear.

Reproduction Steps

Have a document with a table. (Sample attached)

https://github.com/ONLYOFFICE/DocumentServer/assets/146874554/b88bd56d-6a8f-4263-b6c1-641bd7eff298

Place content controls inside the cells. Place text inside the content controls. Enable Track Changes. Turn on non-printable characters.
Change the cell text, ensure the table-cell end glyph is also selected/marked as deleted. Accept all changes. Track Changes Bug Demo.docx

Additional information

No response

jdiller-arteria avatar Mar 21 '24 16:03 jdiller-arteria

Hello, @jdiller-arteria. I can confirm that the problem exists. I created issue #67071 for your problem. Thanks for your request!

matveevms avatar Mar 22 '24 13:03 matveevms

The problem has been fixed in the next version of the editor, which will be released soon. https://github.com/ONLYOFFICE/sdkjs/commit/92fbf1f42a4206d93dbe33a4e91c257486c7bded

matveevms avatar Jun 28 '24 11:06 matveevms

DocumentServer v8.1.1 is released so I close this issue. Feel free to comment or reopen it if you got further questions.

Rita-Bubnova avatar Jul 17 '24 08:07 Rita-Bubnova