docs: fix a bug in embed experiment
This commit is contained in:
@@ -23,7 +23,7 @@ export default Node.create({
|
|||||||
|
|
||||||
group: 'block',
|
group: 'block',
|
||||||
|
|
||||||
// selectable: false,
|
atom: true,
|
||||||
|
|
||||||
defaultOptions: <IframeOptions>{
|
defaultOptions: <IframeOptions>{
|
||||||
allowFullscreen: true,
|
allowFullscreen: true,
|
||||||
@@ -58,7 +58,7 @@ export default Node.create({
|
|||||||
},
|
},
|
||||||
|
|
||||||
renderHTML({ HTMLAttributes }) {
|
renderHTML({ HTMLAttributes }) {
|
||||||
return ['div', this.options.HTMLAttributes, ['iframe', HTMLAttributes, 0]]
|
return ['div', this.options.HTMLAttributes, ['iframe', HTMLAttributes]]
|
||||||
},
|
},
|
||||||
|
|
||||||
addCommands() {
|
addCommands() {
|
||||||
|
|||||||
Reference in New Issue
Block a user