mirror of
https://gitee.com/openharmony/applications_notes
synced 2024-11-22 23:19:55 +00:00
修复备忘录页面居中字体变化问题
Signed-off-by: zhanghong <zhanghong121@huawei.com>
This commit is contained in:
parent
d5a52cc28d
commit
6ecb0dee16
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user