mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 03:46:37 +01:00
Fix selection after entering inline expression
This commit is contained in:
@@ -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' );
|
||||
} );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user