diff --git a/common/resources/src/main/resources/rawfile/rich_editor.js b/common/resources/src/main/resources/rawfile/rich_editor.js index 5bb655f..79e28e5 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) {