From 2fea2e2ffb217ed946b9c2ba5a28628db6d24ef3 Mon Sep 17 00:00:00 2001 From: Sauli Anto Date: Tue, 3 Nov 2020 21:35:20 +0200 Subject: [PATCH] Fix selection after entering inline expression --- src/mathcommand.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mathcommand.js b/src/mathcommand.js index 11c540164..877340600 100644 --- a/src/mathcommand.js +++ b/src/mathcommand.js @@ -24,7 +24,6 @@ export default class MathCommand extends Command { mathtex = writer.createElement( display ? 'mathtex-display' : 'mathtex-inline', { equation, type: outputType, display } ); } model.insertContent( mathtex ); - writer.setSelection( mathtex, 'on' ); } ); }