From 8169eef27c15ccccf59b06970a58931ea137f990 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Sat, 15 May 2021 08:52:40 +0200 Subject: [PATCH] docs: fix a bug in embed experiment --- docs/src/demos/Experiments/Embeds/iframe.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/demos/Experiments/Embeds/iframe.ts b/docs/src/demos/Experiments/Embeds/iframe.ts index 6c0267a4..a2074492 100644 --- a/docs/src/demos/Experiments/Embeds/iframe.ts +++ b/docs/src/demos/Experiments/Embeds/iframe.ts @@ -23,7 +23,7 @@ export default Node.create({ group: 'block', - // selectable: false, + atom: true, defaultOptions: { 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() {