mirror of
https://github.com/openharmony/applications_notes.git
synced 2026-07-19 13:16:40 -04:00
修复备忘录添加有序列表后字体异常变化问题
Signed-off-by: zwx1126739 <zhanghong121@huawei.com>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user