ONLYOFFICE / DesktopEditors

An office suite that combines text, spreadsheet and presentation editors allowing to create, view and edit local documents
https://www.onlyoffice.com
Other
2.65k stars 312 forks source link

List Formatting Lost on Close (after a successful save) #1447

Closed rgdev-1134 closed 5 months ago

rgdev-1134 commented 6 months ago

This issue is unique.

Operating System

Windows 10 / 8.1 / 7, Linux (DEB package), Linux (RPM package)

Version information

7.5.1.23 (and the prior 2-3 versions also)

Expected Behavior

Lists default to being formatted with a space. When changed to a tab and saved, the document should open with the list formatted using a tab.

Actual Behavior

I changed the format on the list from a space to a tab, saved the document, closed it and re-opened. All changes saved except the list formatting, which was defaulted back to a space.

Reproduction Steps

  1. Create a new document.
  2. Create a list in the document.
  3. Change the indent character to a tab (under right click > Adjust list indents).
  4. Save the document and close it.
  5. Re-open and see that the space character is used for the list, not the tab character.

Additional information

Also, IMO, the default should be a tab, not a space. Using a space causes the text to not be aligned if more than one line is entered which looks unprofessional.

matveevms commented 6 months ago

Hello, @rgdev-1134. The problem was previously reproduced in the same way on DocumentServer. This case will be fixed in the next release. https://github.com/ONLYOFFICE/core/commit/940af313fd84a4d3af88d3260bc60d460b5dc47c https://github.com/ONLYOFFICE/sdkjs/commit/3380693108a6919da0fa3312b5e038ab18149ba0 Thanks for your feedback.

Rita-Bubnova commented 5 months ago

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