diff --git a/frontend/app_flowy/packages/flowy_editor/example/assets/example.json b/frontend/app_flowy/packages/flowy_editor/example/assets/example.json index 9f1d278e16..c69237f24f 100644 --- a/frontend/app_flowy/packages/flowy_editor/example/assets/example.json +++ b/frontend/app_flowy/packages/flowy_editor/example/assets/example.json @@ -144,7 +144,7 @@ } ], "attributes": { - "subtype": "bullet-list" + "subtype": "bulleted-list" } }, { @@ -155,7 +155,7 @@ } ], "attributes": { - "subtype": "bullet-list" + "subtype": "bulleted-list" } }, { @@ -170,7 +170,7 @@ } ], "attributes": { - "subtype": "bullet-list" + "subtype": "bulleted-list" } }, { diff --git a/frontend/app_flowy/packages/flowy_editor/lib/service/editor_service.dart b/frontend/app_flowy/packages/flowy_editor/lib/service/editor_service.dart index 6d21699625..b62fe1bb15 100644 --- a/frontend/app_flowy/packages/flowy_editor/lib/service/editor_service.dart +++ b/frontend/app_flowy/packages/flowy_editor/lib/service/editor_service.dart @@ -25,7 +25,7 @@ NodeWidgetBuilders defaultBuilders = { 'text': RichTextNodeWidgetBuilder(), 'text/checkbox': CheckboxNodeWidgetBuilder(), 'text/heading': HeadingTextNodeWidgetBuilder(), - 'text/bullet-list': BulletedListTextNodeWidgetBuilder(), + 'text/bulleted-list': BulletedListTextNodeWidgetBuilder(), 'text/number-list': NumberListTextNodeWidgetBuilder(), 'text/quote': QuotedTextNodeWidgetBuilder(), };