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
chore: replace 'checkbox' with StyleKey.checkbox
Lucas.Xu364a8e6ad2da
diff --git a/frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/checkbox_text.dart b/frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/checkbox_text.dartindex 5c02955d7b..317d1a6bdf 100644--- a/frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/checkbox_text.dart+++ b/frontend/app_flowy/packages/flowy_editor/lib/render/rich_text/checkbox_text.dart@@ -77,7 +77,7 @@ class _CheckboxNodeWidgetState extends State<CheckboxNodeWidget>debugPrint('[Checkbox] onTap...');TransactionBuilder(widget.editorState)..updateNode(widget.textNode, {- 'checkbox': !check,+ StyleKey.checkbox: !check,})..commit();},