Commit c9f1d4ba by yakoff94

fix

parent 08dc066a
{
"name": "react-ag-qeditor",
"version": "1.0.30",
"version": "1.0.31",
"description": "WYSIWYG html editor",
"author": "atma",
"license": "MIT",
......
......@@ -1100,9 +1100,7 @@ const QEditor = ({
let exp = file.path.split('.')
exp = exp[exp.length - 1]
editor.chain().focus().insertContent(
`
<a href="${file.path}" target="_blank" download="${file.name}.${exp}" data-size="${file.size}">${file.name}</a>
`
`<a href="${file.path}" target="_blank" download="${file.name}.${exp}" data-size="${file.size}">${file.name}</a>`
).run()
})
break
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment