Track Changes improvements and feedback
The following improvements have been implemented.
-
Most issues with history have been resolved. One undo will revert the document to it's previous state instead of needing to do multiple undos.
-
Lagging issues have been resolved when typing, or having backspace / delete pressed for a long time which caused the editor to become unresponsive to user's changes
-
Ability to select a part of the text (can span along multiple paragraphs) and Accept/decline those changes. Undo will revert all changes to previous state.
-
Ability to navigate through next or previous change (for now this feature only applies to main editing surface and not the notes)
-
Select part of a paragraph (or many paragraphs) and hit enter will mark all text as deleted and create a new paragraph at the end of the selection. Also All changes added by the specific user in that part of the text will be removed and any deletions will be merge within paragraph level.
-
Deleting an empty paragraph no longer causes an error and can be removed from the document.
-
Turning track change feature off , and placing the cursor next to an addition or deletion will not expand the addition/deletion but will come as normal text.
-
Cut of text(with mouse or keyboard shortcut -ctrl+x) marks the text as deleted.
-
Paste operation of text that was previously copied or cut can be tracked as added text, both in Collapsed mode(blinking cursor) or on a selection of text(Selection will be marked as deleted and pasted text as addition).
-
Copy operation leaves the text unchanged.
-
Demo of tracking changes in text formatting. This feature is only to demonstrate that the editor can track changes that were not applied by typing. It's not functional as a lot of things have to be thought first.(In order to check it out. with track changes off add some emphasis , subscript and superscript tags--those are supported for now-- turn track changes on. Select some part of the text and add emphasis or subscript.)
Text will be marked with background color and placing the mouse on it will display the user and the action performed.
On the previous added emphasis , subscript and superscript tags try removing them. Text will be marked as following.
Again leaving the mouse on will display info of what it was removed.
The specific demo will only be deployed to editoria-testing and will not be merged to master till it is finished.
NOTE to check all functionality formation track changes should not exist in the text as the feature is not complete causing unexpected errors.
Future iteration on track changes.
- Define how formating should be tracked, both for top menu and side menu (as those are block level nodes)
- Being able to select multiple paragraphs and apply track changes (ex press delete). For this feature to be completed first is needed to be able to select text on multiple paragraphs and apply text transformations (like bold emphasis etc) similar to the work done for left menu.