fix(base): show embed controls on the pending skeleton (#2594)
This commit is contained in:
parent
ded9b7ca9f
commit
2d24a12867
1 changed files with 2 additions and 1 deletions
|
|
@ -110,7 +110,8 @@ export function BaseEmbedView({ node, editor, deleteNode }: NodeViewProps) {
|
|||
// mounts) is reserved only for the skeleton/loading/table states.
|
||||
const isCompact = !pendingKey && (!pageId || isError);
|
||||
|
||||
const showControls = editor.isEditable && !pendingKey;
|
||||
// Also on the skeleton, so a placeholder stuck pending can still be removed.
|
||||
const showControls = editor.isEditable;
|
||||
|
||||
let content: React.ReactNode;
|
||||
if (pendingKey) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue