fix: Indent/outdent list controls, closes #6974

This commit is contained in:
Tom Moor
2024-06-08 21:51:52 -04:00
parent 2f495f0add
commit 808415b906
34 changed files with 80 additions and 62 deletions

View File

@@ -1,6 +1,6 @@
import { Node, Schema } from "prosemirror-model";
export default function isList(node: Node, schema: Schema) {
export function isList(node: Node, schema: Schema) {
return (
node.type === schema.nodes.bullet_list ||
node.type === schema.nodes.ordered_list ||