mirror of
https://gitee.com/bootx/dax-pay-ui
synced 2026-08-14 17:35:36 +08:00
fix: the position of tinymce upload image is wrong (#1015)
This commit is contained in:
@@ -278,8 +278,9 @@
|
||||
if (!editor) {
|
||||
return;
|
||||
}
|
||||
editor.execCommand('mceInsertContent', false, getUploadingImgName(name));
|
||||
const content = editor?.getContent() ?? '';
|
||||
setValue(editor, `${content}\n${getUploadingImgName(name)}`);
|
||||
setValue(editor, content);
|
||||
}
|
||||
|
||||
function handleDone(name: string, url: string) {
|
||||
|
||||
Reference in New Issue
Block a user