@tiptap/core
Advanced tools
Comparing version 2.0.0-beta.41 to 2.0.0-beta.42
@@ -6,2 +6,13 @@ # Change Log | ||
# [2.0.0-beta.42](https://github.com/ueberdosis/tiptap/compare/@tiptap/core@2.0.0-beta.41...@tiptap/core@2.0.0-beta.42) (2021-05-04) | ||
### Bug Fixes | ||
* ignore editable in dispatchTransaction, fix [#1239](https://github.com/ueberdosis/tiptap/issues/1239) ([b3fb022](https://github.com/ueberdosis/tiptap/commit/b3fb0228e04a227bfc4536b167a93b3172169378)) | ||
# [2.0.0-beta.41](https://github.com/ueberdosis/tiptap/compare/@tiptap/core@2.0.0-beta.40...@tiptap/core@2.0.0-beta.41) (2021-04-27) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@tiptap/core", | ||
"description": "headless rich text editor", | ||
"version": "2.0.0-beta.41", | ||
"version": "2.0.0-beta.42", | ||
"homepage": "https://tiptap.dev", | ||
@@ -42,5 +42,5 @@ "keywords": [ | ||
"prosemirror-transform": "^1.3.2", | ||
"prosemirror-view": "^1.18.2" | ||
"prosemirror-view": "^1.18.4" | ||
}, | ||
"gitHead": "8393342b19063220cd2fa17f4f9149fe5269bc94" | ||
"gitHead": "e0895bd919bb30cead6f06883da777ed962d9c0c" | ||
} |
@@ -57,3 +57,3 @@ import { EditorState, Transaction } from 'prosemirror-state' | ||
return () => callbacks.every(callback => callback === true) | ||
return callbacks.every(callback => callback === true) | ||
} | ||
@@ -60,0 +60,0 @@ |
@@ -280,6 +280,2 @@ import { | ||
private dispatchTransaction(transaction: Transaction): void { | ||
if (transaction.docChanged && !this.isEditable) { | ||
return | ||
} | ||
if (this.isCapturingTransaction) { | ||
@@ -286,0 +282,0 @@ if (!this.capturedTransaction) { |
@@ -5,2 +5,6 @@ import { MarkType, Schema } from 'prosemirror-model' | ||
if (typeof nameOrType === 'string') { | ||
if (!schema.marks[nameOrType]) { | ||
throw Error(`There is no mark type named '${nameOrType}'. Maybe you forgot to add the extension?`) | ||
} | ||
return schema.marks[nameOrType] | ||
@@ -7,0 +11,0 @@ } |
@@ -5,2 +5,6 @@ import { NodeType, Schema } from 'prosemirror-model' | ||
if (typeof nameOrType === 'string') { | ||
if (!schema.nodes[nameOrType]) { | ||
throw Error(`There is no node type named '${nameOrType}'. Maybe you forgot to add the extension?`) | ||
} | ||
return schema.nodes[nameOrType] | ||
@@ -7,0 +11,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
2545405
17273
+ Addedprosemirror-model@1.24.0(transitive)
- Removedprosemirror-model@1.23.0(transitive)
Updatedprosemirror-view@^1.18.4