diff --git a/src/components/CodeEmbed/index.jsx b/src/components/CodeEmbed/index.jsx index d97e6967c7..8087a47c37 100644 --- a/src/components/CodeEmbed/index.jsx +++ b/src/components/CodeEmbed/index.jsx @@ -45,7 +45,7 @@ export const CodeEmbed = (props) => { } // Quick hack to make room for DOM that gets added below the canvas by default - const domMatch = /create(Button|Select|P|Div|Input|ColorPicker)/.exec(initialCode); + const domMatch = /create(Button|Select|P|Div|Input|ColorPicker|Capture)/.exec(initialCode); if (domMatch && previewHeight) { previewHeight += 100; }