prosemirror-state
Advanced tools
Comparing version 1.4.2 to 1.4.3
@@ -0,1 +1,7 @@ | ||
## 1.4.3 (2023-05-17) | ||
### Bug fixes | ||
Include CommonJS type declarations in the package to please new TypeScript resolution settings. | ||
## 1.4.2 (2022-10-17) | ||
@@ -2,0 +8,0 @@ |
@@ -305,6 +305,9 @@ import { Schema, Node, Mark, MarkType, Slice, ResolvedPos } from 'prosemirror-model'; | ||
The [editor view](https://prosemirror.net/docs/ref/#view.EditorView) uses a few metadata properties: | ||
it will attach a property `"pointer"` with the value `true` to | ||
selection transactions directly caused by mouse or touch input, and | ||
a `"uiEvent"` property of that may be `"paste"`, `"cut"`, or `"drop"`. | ||
The [editor view](https://prosemirror.net/docs/ref/#view.EditorView) uses a few metadata | ||
properties: it will attach a property `"pointer"` with the value | ||
`true` to selection transactions directly caused by mouse or touch | ||
input, a `"composition"` property holding an ID identifying the | ||
composition that caused it to transactions caused by composed DOM | ||
input, and a `"uiEvent"` property of that may be `"paste"`, | ||
`"cut"`, or `"drop"`. | ||
*/ | ||
@@ -311,0 +314,0 @@ declare class Transaction extends Transform { |
@@ -489,6 +489,9 @@ import { Slice, Fragment, Mark, Node } from 'prosemirror-model'; | ||
The [editor view](https://prosemirror.net/docs/ref/#view.EditorView) uses a few metadata properties: | ||
it will attach a property `"pointer"` with the value `true` to | ||
selection transactions directly caused by mouse or touch input, and | ||
a `"uiEvent"` property of that may be `"paste"`, `"cut"`, or `"drop"`. | ||
The [editor view](https://prosemirror.net/docs/ref/#view.EditorView) uses a few metadata | ||
properties: it will attach a property `"pointer"` with the value | ||
`true` to selection transactions directly caused by mouse or touch | ||
input, a `"composition"` property holding an ID identifying the | ||
composition that caused it to transactions caused by composed DOM | ||
input, and a `"uiEvent"` property of that may be `"paste"`, | ||
`"cut"`, or `"drop"`. | ||
*/ | ||
@@ -495,0 +498,0 @@ class Transaction extends Transform { |
{ | ||
"name": "prosemirror-state", | ||
"version": "1.4.2", | ||
"version": "1.4.3", | ||
"description": "ProseMirror editor state", | ||
@@ -18,3 +18,3 @@ "type": "module", | ||
"name": "Marijn Haverbeke", | ||
"email": "marijnh@gmail.com", | ||
"email": "marijn@haverbeke.berlin", | ||
"web": "http://marijnhaverbeke.nl" | ||
@@ -21,0 +21,0 @@ } |
@@ -35,6 +35,9 @@ import {Transform, Step} from "prosemirror-transform" | ||
/// | ||
/// The [editor view](#view.EditorView) uses a few metadata properties: | ||
/// it will attach a property `"pointer"` with the value `true` to | ||
/// selection transactions directly caused by mouse or touch input, and | ||
/// a `"uiEvent"` property of that may be `"paste"`, `"cut"`, or `"drop"`. | ||
/// The [editor view](#view.EditorView) uses a few metadata | ||
/// properties: it will attach a property `"pointer"` with the value | ||
/// `true` to selection transactions directly caused by mouse or touch | ||
/// input, a `"composition"` property holding an ID identifying the | ||
/// composition that caused it to transactions caused by composed DOM | ||
/// input, and a `"uiEvent"` property of that may be `"paste"`, | ||
/// `"cut"`, or `"drop"`. | ||
export class Transaction extends Transform { | ||
@@ -41,0 +44,0 @@ /// The timestamp associated with this transaction, in the same |
Sorry, the diff of this file is not supported yet
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
183382
16
3536