|
@@ -69,6 +69,8 @@ export default class EditingController {
|
|
|
const selection = doc.selection;
|
|
const selection = doc.selection;
|
|
|
const markers = this.model.markers;
|
|
const markers = this.model.markers;
|
|
|
|
|
|
|
|
|
|
+ this.view._renderingDisabled = true;
|
|
|
|
|
+
|
|
|
// When plugins listen on model changes (on selection change, post fixers, etc) and change the view as a result of
|
|
// When plugins listen on model changes (on selection change, post fixers, etc) and change the view as a result of
|
|
|
// model's change, they might trigger view rendering before the conversion is completed (e.g. before the selection
|
|
// model's change, they might trigger view rendering before the conversion is completed (e.g. before the selection
|
|
|
// is converted). We disable rendering for the length of the outermost model change() block to prevent that.
|
|
// is converted). We disable rendering for the length of the outermost model change() block to prevent that.
|