Skip to content

Implement track changes #4707

Discussion options

You must be logged in to vote

https://github.com/Ramnath-Karthikesan/lexical-track-changes

I've implemented a basic version of track changes in the Lexical Editor. While this approach has some bugs and efficiency issues , contributions to improve the track changes feature in Lexical would be greatly appreciated.

The concept involves creating two nodes, one for insertion and one for deletion, inspired by the structure of the link node in Lexical. A custom plugin is then developed to listen for specific operations such as KEY_DOWN_COMMAND and KEY_BACKSPACE_COMMAND. Based on the current user selection, the plugin executes the node insertion or deletion operation.

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Aemulatio
Comment options

@Ramnath-Karthikesan
Comment options

Answer selected by Shiva804
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants