lexical
lexical copied to clipboard
Concept Docs: Dirty
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
Maybe more general? Reconciliation?
+1
I'm looking for a document about dirty.
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.
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)