Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfeng33 committed Dec 25, 2024
1 parent 051817c commit 5db1138
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/new-stingrays-live.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@udecode/plate-indent-list': patch
---

`someIndentList` support multiple type
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -138,8 +138,8 @@ export function FixedToolbarButtons() {
<ToolbarGroup>
<AlignDropdownMenu />

<NumberedListToolbarButton />
<BulletedListToolbarButton />
<NumberedIndentListToolbarButton />
<BulletedIndentListToolbarButton />
{/* <IndentListToolbarButton nodeType={ListStyleType.Disc} /> */}
{/* <IndentListToolbarButton nodeType={ListStyleType.Decimal} /> */}
<IndentTodoToolbarButton />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import {
ToolbarSplitButtonSecondary,
} from './toolbar';

export function NumberedListToolbarButton() {
export function NumberedIndentListToolbarButton() {
const editor = useEditorRef();
const openState = useOpenState();

Expand Down Expand Up @@ -112,7 +112,7 @@ export function NumberedListToolbarButton() {
);
}

export function BulletedListToolbarButton() {
export function BulletedIndentListToolbarButton() {
const editor = useEditorRef();
const openState = useOpenState();

Expand Down

0 comments on commit 5db1138

Please sign in to comment.