@prosekit/extensions
Advanced tools
Comparing version 0.0.17 to 0.0.18
@@ -130,5 +130,5 @@ import { CommandArgs } from '@prosekit/core'; | ||
COMMAND_ARGS: { | ||
toggleHeading: [attrs?: HeadingAttrs | undefined]; | ||
setHeading: [attrs?: HeadingAttrs | undefined]; | ||
insertHeading: [attrs?: HeadingAttrs | undefined]; | ||
toggleHeading: [attrs?: HeadingAttrs | undefined]; | ||
}; | ||
@@ -139,5 +139,5 @@ }>; | ||
COMMAND_ARGS: { | ||
toggleHeading: [attrs?: HeadingAttrs | undefined]; | ||
setHeading: [attrs?: HeadingAttrs | undefined]; | ||
insertHeading: [attrs?: HeadingAttrs | undefined]; | ||
toggleHeading: [attrs?: HeadingAttrs | undefined]; | ||
}; | ||
@@ -144,0 +144,0 @@ }>; |
@@ -61,5 +61,2 @@ // src/heading/index.ts | ||
return defineCommands({ | ||
toggleHeading: (attrs) => { | ||
return toggleNode({ type: "heading", attrs }); | ||
}, | ||
setHeading: (attrs) => { | ||
@@ -70,2 +67,5 @@ return setBlockType({ type: "heading", attrs }); | ||
return insertNode({ type: "heading", attrs }); | ||
}, | ||
toggleHeading: (attrs) => { | ||
return toggleNode({ type: "heading", attrs }); | ||
} | ||
@@ -72,0 +72,0 @@ }); |
{ | ||
"name": "@prosekit/extensions", | ||
"type": "module", | ||
"version": "0.0.17", | ||
"version": "0.0.18", | ||
"private": false, | ||
@@ -109,3 +109,3 @@ "author": { | ||
"dependencies": { | ||
"@prosekit/core": "^0.0.15", | ||
"@prosekit/core": "^0.0.16", | ||
"@prosekit/pm": "^0.0.6", | ||
@@ -112,0 +112,0 @@ "highlight.js": "^11.9.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
+ Added@prosekit/core@0.0.16(transitive)
- Removed@prosekit/core@0.0.15(transitive)
Updated@prosekit/core@^0.0.16