Skip to content

Commit

Permalink
fix: ignore editable in dispatchTransaction, fix #1239
Browse files Browse the repository at this point in the history
  • Loading branch information
philippkuehn committed May 4, 2021
1 parent 90b7e8b commit b3fb022
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/core/src/Editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b3fb022

Please sign in to comment.