lexical icon indicating copy to clipboard operation
lexical copied to clipboard

Concept Docs: Dirty

Open zurfyx opened this issue 2 years ago • 3 comments

I think it's important to explain what dirty is, especially since this is a term that's exposed to the user through markDirty but also comes up with EditorState and transforms. Also, IntentionallyMarkAsDirty

zurfyx avatar Apr 05 '22 09:04 zurfyx

Maybe more general? Reconciliation?

acywatson avatar Apr 06 '22 18:04 acywatson

+1
I'm looking for a document about dirty.

and80506 avatar Sep 27 '22 12:09 and80506

This could definitely use an update. The docs are a real pain point for anyone trying to use Lexical currently. Nobody feels fulfilled writing docs though, I know.

Nantris avatar Apr 20 '23 23:04 Nantris

I'm also looking for an API to determine if user made any change to the text/state away from the initial state (e.g. important if we need to force Save when navigating away or helpful for auto-save functionality)

vadimkantorov avatar May 30 '24 15:05 vadimkantorov