docs: fix a bug in embed experiment

This commit is contained in:
Philipp Kühn
2021-05-15 08:52:40 +02:00
parent 503d730b1a
commit 8169eef27c

View File

@@ -23,7 +23,7 @@ export default Node.create({
group: 'block',
// selectable: false,
atom: true,
defaultOptions: <IframeOptions>{
allowFullscreen: true,
@@ -58,7 +58,7 @@ export default Node.create({
},
renderHTML({ HTMLAttributes }) {
return ['div', this.options.HTMLAttributes, ['iframe', HTMLAttributes, 0]]
return ['div', this.options.HTMLAttributes, ['iframe', HTMLAttributes]]
},
addCommands() {