diff --git a/apps/client/src/features/editor/styles/base-embed.css b/apps/client/src/features/editor/styles/base-embed.css new file mode 100644 index 000000000..2a4ebe733 --- /dev/null +++ b/apps/client/src/features/editor/styles/base-embed.css @@ -0,0 +1,9 @@ +.ProseMirror { + .node-baseEmbed { + /* Suppress the default ProseMirror atom-node selection outline — + * the embed reads as a document block, not a focused widget. */ + &.ProseMirror-selectednode { + outline: none; + } + } +} diff --git a/apps/client/src/features/editor/styles/index.css b/apps/client/src/features/editor/styles/index.css index 7ec4be9b6..ffec33f3d 100644 --- a/apps/client/src/features/editor/styles/index.css +++ b/apps/client/src/features/editor/styles/index.css @@ -15,3 +15,4 @@ @import "./highlight.css"; @import "./columns.css"; @import "./status.css"; +@import "./base-embed.css";