fix rich editor embed image original

This commit is contained in:
2024-09-13 18:11:57 +03:00
parent c0b3878674
commit c45a3847f8
5 changed files with 6 additions and 7 deletions
@@ -16,7 +16,6 @@
export let editable = true;
export function insertMedia(info) {
let insertText = "";
if (info.record._file.width > 0) {
insertText = `![${info.record._file.originalName}](${info.url})`;