Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: clicking bullet list button creates ordered list

thecodrr8359019c407f
diff --git a/packages/editor/src/toolbar/tools/lists.tsx b/packages/editor/src/toolbar/tools/lists.tsx
index 0d39f6b58..38428f6ba 100644
--- a/packages/editor/src/toolbar/tools/lists.tsx
+++ b/packages/editor/src/toolbar/tools/lists.tsx
@@ -144,7 +144,7 @@ type BulletListStyleTypes = "circle" | "square" | "disc";
export function BulletList(props: ToolProps) {
const { editor } = props;
const onClick = useCallback(
- () => editor.current?.chain().focus().toggleOrderedList().run(),
+ () => editor.current?.chain().focus().toggleBulletList().run(),
[]
);