修复备忘录添加有序列表后字体异常变化问题

Signed-off-by: zwx1126739 <zhanghong121@huawei.com>
This commit is contained in:
zwx1126739 2024-08-15 19:55:19 +08:00
parent 0b1f8cb0d4
commit b705d1ef2c

View File

@ -280,15 +280,15 @@ RICH_EDITOR.setOutdent = function () {
};
RICH_EDITOR.setJustifyLeft = function () {
document.execCommand('justifyLeft', false, null);
RICH_EDITOR.editor.style.textAlign = 'left';
};
RICH_EDITOR.setJustifyCenter = function () {
document.execCommand('justifyCenter', false, null);
RICH_EDITOR.editor.style.textAlign = 'center';
};
RICH_EDITOR.setJustifyRight = function () {
document.execCommand('justifyRight', false, null);
RICH_EDITOR.editor.style.textAlign = 'right';
};
RICH_EDITOR.insertImage = function (url) {