diff --git a/examples/embeds/video.js b/examples/embeds/video.js index 7589eda76..ae9b3ad07 100644 --- a/examples/embeds/video.js +++ b/examples/embeds/video.js @@ -22,7 +22,8 @@ class Video extends React.Component { data: { video } } - const next = state + const next = editor + .getState() .transform() .setNodeByKey(node.key, properties) .apply()