mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-28 23:59:25 +08:00
fix: ignore editable in dispatchTransaction, fix #1239
This commit is contained in:
parent
90b7e8b72a
commit
b3fb0228e0
@ -277,10 +277,6 @@ export class Editor extends EventEmitter {
|
||||
* @param transaction An editor state transaction
|
||||
*/
|
||||
private dispatchTransaction(transaction: Transaction): void {
|
||||
if (transaction.docChanged && !this.isEditable) {
|
||||
return
|
||||
}
|
||||
|
||||
if (this.isCapturingTransaction) {
|
||||
if (!this.capturedTransaction) {
|
||||
this.capturedTransaction = transaction
|
||||
|
Loading…
Reference in New Issue
Block a user