diff --git a/.changeset/new-stingrays-live.md b/.changeset/new-stingrays-live.md new file mode 100644 index 0000000000..e31be610ef --- /dev/null +++ b/.changeset/new-stingrays-live.md @@ -0,0 +1,5 @@ +--- +'@udecode/plate-indent-list': patch +--- + +`someIndentList` support multiple type diff --git a/apps/www/src/registry/default/plate-ui/fixed-toolbar-buttons.tsx b/apps/www/src/registry/default/plate-ui/fixed-toolbar-buttons.tsx index 4fbac0a83c..07f08f9853 100644 --- a/apps/www/src/registry/default/plate-ui/fixed-toolbar-buttons.tsx +++ b/apps/www/src/registry/default/plate-ui/fixed-toolbar-buttons.tsx @@ -44,8 +44,8 @@ import { EmojiDropdownMenu } from './emoji-dropdown-menu'; import { ExportToolbarButton } from './export-toolbar-button'; import { RedoToolbarButton, UndoToolbarButton } from './history-toolbar-button'; import { - BulletedListToolbarButton, - NumberedListToolbarButton, + BulletedIndentListToolbarButton, + NumberedIndentListToolbarButton, } from './indent-list-toolbar-button'; import { IndentTodoToolbarButton } from './indent-todo-toolbar-button'; import { IndentToolbarButton } from './indent-toolbar-button'; @@ -138,8 +138,8 @@ export function FixedToolbarButtons() { - - + + {/* */} {/* */} diff --git a/apps/www/src/registry/default/plate-ui/indent-list-toolbar-button.tsx b/apps/www/src/registry/default/plate-ui/indent-list-toolbar-button.tsx index ab6c0aba72..cccc0c52d3 100644 --- a/apps/www/src/registry/default/plate-ui/indent-list-toolbar-button.tsx +++ b/apps/www/src/registry/default/plate-ui/indent-list-toolbar-button.tsx @@ -24,7 +24,7 @@ import { ToolbarSplitButtonSecondary, } from './toolbar'; -export function NumberedListToolbarButton() { +export function NumberedIndentListToolbarButton() { const editor = useEditorRef(); const openState = useOpenState(); @@ -112,7 +112,7 @@ export function NumberedListToolbarButton() { ); } -export function BulletedListToolbarButton() { +export function BulletedIndentListToolbarButton() { const editor = useEditorRef(); const openState = useOpenState();