Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
feat(doc): document's state
Vincent Chanf0ed15440a88
diff --git a/frontend/app_flowy/packages/flowy_editor/lib/src/editor_state.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/editor_state.dartindex 31a321a3c0..4b387afd9e 100644--- a/frontend/app_flowy/packages/flowy_editor/lib/src/editor_state.dart+++ b/frontend/app_flowy/packages/flowy_editor/lib/src/editor_state.dart@@ -26,6 +26,15 @@ enum CursorUpdateReason {others,}+/// The state of the editor.+///+/// The state including:+/// - The document to render+/// - The state of the selection.+///+/// [EditorState] also includes the services of the editor:+/// - Selection service+/// - Scroll serviceclass EditorState {final StateTree document;