@prosekit/extensions
Advanced tools
Comparing version 0.4.6 to 0.4.7
@@ -535,2 +535,10 @@ import { Attrs } from '@prosekit/pm/model'; | ||
/** | ||
* By default, clicking a node while holding the mod key will select the node. This | ||
* extension disables that behavior. | ||
* | ||
* @public | ||
*/ | ||
export declare function defineModClickPrevention(): Extension; | ||
/** | ||
* Add a placeholder text to the editor when the current block or document is | ||
@@ -850,2 +858,7 @@ * empty. | ||
/** | ||
* @deprecated Use `isApple` from `@prosekit/core` | ||
*/ | ||
export declare const isApple: boolean; | ||
export declare const LINK_ENTER_RE: RegExp; | ||
@@ -852,0 +865,0 @@ |
import { | ||
defineTextBlockInputRule | ||
} from "./chunk-CJ3SOSL6.js"; | ||
import { | ||
defineTextBlockEnterRule | ||
} from "./chunk-HLBUHIMJ.js"; | ||
import { | ||
defineTextBlockInputRule | ||
} from "./chunk-CJ3SOSL6.js"; | ||
@@ -8,0 +8,0 @@ // src/code-block/code-block.ts |
@@ -5,7 +5,7 @@ import { | ||
import { | ||
defineInputRule | ||
} from "./chunk-CJ3SOSL6.js"; | ||
import { | ||
defineEnterRule | ||
} from "./chunk-HLBUHIMJ.js"; | ||
import { | ||
defineInputRule | ||
} from "./chunk-CJ3SOSL6.js"; | ||
@@ -12,0 +12,0 @@ // src/link/index.ts |
{ | ||
"name": "@prosekit/extensions", | ||
"type": "module", | ||
"version": "0.4.6", | ||
"version": "0.4.7", | ||
"private": false, | ||
@@ -33,7 +33,2 @@ "author": { | ||
}, | ||
"./mark-rule": { | ||
"types": "./dist/prosekit-extensions-mark-rule.d.ts", | ||
"import": "./dist/prosekit-extensions-mark-rule.js", | ||
"default": "./dist/prosekit-extensions-mark-rule.js" | ||
}, | ||
"./autocomplete": { | ||
@@ -107,2 +102,7 @@ "types": "./dist/prosekit-extensions-autocomplete.d.ts", | ||
}, | ||
"./mark-rule": { | ||
"types": "./dist/prosekit-extensions-mark-rule.d.ts", | ||
"import": "./dist/prosekit-extensions-mark-rule.js", | ||
"default": "./dist/prosekit-extensions-mark-rule.js" | ||
}, | ||
"./mention": { | ||
@@ -113,2 +113,7 @@ "types": "./dist/prosekit-extensions-mention.d.ts", | ||
}, | ||
"./mod-click-prevention": { | ||
"types": "./dist/prosekit-extensions-mod-click-prevention.d.ts", | ||
"import": "./dist/prosekit-extensions-mod-click-prevention.js", | ||
"default": "./dist/prosekit-extensions-mod-click-prevention.js" | ||
}, | ||
"./placeholder": { | ||
@@ -159,3 +164,3 @@ "types": "./dist/prosekit-extensions-placeholder.d.ts", | ||
"@prosekit/core": "^0.4.2", | ||
"@prosekit/pm": "^0.1.2", | ||
"@prosekit/pm": "^0.1.3", | ||
"prosemirror-dropcursor": "^1.8.1", | ||
@@ -165,3 +170,3 @@ "prosemirror-flat-list": "^0.5.0", | ||
"prosemirror-tables": "^1.3.7", | ||
"shiki": "^1.3.0" | ||
"shiki": "^1.4.0" | ||
}, | ||
@@ -172,3 +177,3 @@ "devDependencies": { | ||
"typescript": "^5.4.5", | ||
"vitest": "^1.5.2" | ||
"vitest": "^1.6.0" | ||
}, | ||
@@ -185,5 +190,2 @@ "scripts": { | ||
], | ||
"mark-rule": [ | ||
"./dist/prosekit-extensions-mark-rule.d.ts" | ||
], | ||
"autocomplete": [ | ||
@@ -228,5 +230,11 @@ "./dist/prosekit-extensions-autocomplete.d.ts" | ||
], | ||
"mark-rule": [ | ||
"./dist/prosekit-extensions-mark-rule.d.ts" | ||
], | ||
"mention": [ | ||
"./dist/prosekit-extensions-mention.d.ts" | ||
], | ||
"mod-click-prevention": [ | ||
"./dist/prosekit-extensions-mod-click-prevention.d.ts" | ||
], | ||
"placeholder": [ | ||
@@ -233,0 +241,0 @@ "./dist/prosekit-extensions-placeholder.d.ts" |
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
101789
58
3001
Updated@prosekit/pm@^0.1.3
Updatedshiki@^1.4.0