From 6ecb0dee162232331e2bbaa4d4cddc1122009f7b Mon Sep 17 00:00:00 2001 From: zhanghong Date: Tue, 29 Oct 2024 19:49:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=A4=87=E5=BF=98=E5=BD=95?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=B1=85=E4=B8=AD=E5=AD=97=E4=BD=93=E5=8F=98?= =?UTF-8?q?=E5=8C=96=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhanghong --- common/resources/src/main/resources/rawfile/rich_editor.js | 6 ------ 1 file changed, 6 deletions(-) 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) { -- Gitee