Commit 33ee9b69 by yakoff94

фикс аудио обновление версии до 1.0.27

parent 0f62971d
{ {
"name": "react-ag-qeditor", "name": "react-ag-qeditor",
"version": "1.0.26", "version": "1.0.27",
"description": "WYSIWYG html editor", "description": "WYSIWYG html editor",
"author": "atma", "author": "atma",
"license": "MIT", "license": "MIT",
......
...@@ -24,9 +24,10 @@ const Audio = Node.create({ ...@@ -24,9 +24,10 @@ const Audio = Node.create({
}, },
renderHTML({ HTMLAttributes }) { renderHTML({ HTMLAttributes }) {
console.log(HTMLAttributes);
return [ return [
"audio", "audio",
{ controls: true }, { controls: true, src: HTMLAttributes.src },
["source", mergeAttributes(this.options.HTMLAttributes, HTMLAttributes)] ["source", mergeAttributes(this.options.HTMLAttributes, HTMLAttributes)]
]; ];
}, },
......
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