fix: ignore editable in dispatchTransaction, fix #1239

This commit is contained in:
Philipp Kühn 2021-05-04 10:46:32 +02:00
parent 90b7e8b72a
commit b3fb0228e0

View File

@ -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