Fix preview rendering bug

This commit is contained in:
Sauli Anto
2019-10-04 20:01:28 +03:00
parent 1527c7c9eb
commit 070f84ebd6
4 changed files with 25 additions and 23 deletions

View File

@@ -124,7 +124,7 @@ export default class MathEditing extends Plugin {
const uiElement = viewWriter.createUIElement( 'div', null, function( domDocument ) {
const domElement = this.toDomElement( domDocument );
renderEquation( equation, domElement, mathConfig.engine, display );
renderEquation( equation, domElement, mathConfig.engine, display, false );
return domElement;
} );