From 5fdcdbd357bc61cc06355e629d1fe36306668554 Mon Sep 17 00:00:00 2001 From: "Lucas.Xu" Date: Tue, 2 Aug 2022 17:15:07 +0800 Subject: [PATCH] fix: bulleted-list typo --- .../packages/flowy_editor/example/assets/example.json | 6 +++--- .../packages/flowy_editor/lib/service/editor_service.dart | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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(), };