Fix selection after entering inline expression

This commit is contained in:
Sauli Anto 2020-11-03 21:35:20 +02:00
parent ffb536d663
commit 2fea2e2ffb

View File

@ -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' );
} );
}