Files
xLog/src/editor/ListUnordered.tsx
T

11 lines
264 B
TypeScript

import { ICommand, wrapExecute } from "."
export const ListUnordered: ICommand = {
name: "list-unordered",
label: "Unordered List",
icon: "i-mingcute:list-check-line",
execute: ({ view }) => {
wrapExecute({ view, prepend: "- ", append: "\n" })
},
}