diff --git a/common/resources/src/main/resources/rawfile/rich_editor.js b/common/resources/src/main/resources/rawfile/rich_editor.js index 5bb655f2c2ab5720cec38f38705ac398f1f010a4..79e28e522714cc032c3c6a3f476e5ddaa69850a2 100644 --- a/common/resources/src/main/resources/rawfile/rich_editor.js +++ b/common/resources/src/main/resources/rawfile/rich_editor.js @@ -288,21 +288,15 @@ RICH_EDITOR.setOutdent = function () { }; RICH_EDITOR.setJustifyLeft = function () { - let fontSize = document.queryCommandValue('fontSize'); document.execCommand('justifyLeft', false, null); - document.execCommand('fontSize', false, fontSize); }; RICH_EDITOR.setJustifyCenter = function () { - let fontSize = document.queryCommandValue('fontSize'); document.execCommand('justifyCenter', false, null); - document.execCommand('fontSize', false, fontSize); }; RICH_EDITOR.setJustifyRight = function () { - let fontSize = document.queryCommandValue('fontSize'); document.execCommand('justifyRight', false, null); - document.execCommand('fontSize', false, fontSize); }; RICH_EDITOR.insertImage = function (url) {