diff --git a/shared/editor/components/Frame.tsx b/shared/editor/components/Frame.tsx index 07c7d215b..e6dcd7a1f 100644 --- a/shared/editor/components/Frame.tsx +++ b/shared/editor/components/Frame.tsx @@ -56,6 +56,7 @@ class Frame extends React.Component { canonicalUrl, isSelected, referrerPolicy, + className = "", src, } = this.props; const withBar = !!(icon || canonicalUrl); @@ -66,7 +67,9 @@ class Frame extends React.Component { height={height} $withBar={withBar} $border={border} - className={isSelected ? "ProseMirror-selectednode" : ""} + className={ + isSelected ? `ProseMirror-selectednode ${className}` : className + } > {this.isLoaded && (