mirror of
https://gitee.com/openharmony/applications_notes
synced 2024-11-26 17:20:25 +00:00
修复备忘录添加有序列表后字体异常变化问题
Signed-off-by: zwx1126739 <zhanghong121@huawei.com>
This commit is contained in:
parent
0b1f8cb0d4
commit
b705d1ef2c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user