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

Signed-off-by: zwx1126739 <zhanghong121@huawei.com>
This commit is contained in:
zwx1126739
2024-08-15 19:55:19 +08:00
parent 7dec896a1d
commit b630bb20a4
@@ -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) {