fix(editor): remove embed iframe toolbar edit item (#11396)

This commit is contained in:
donteatfriedrice
2025-04-02 08:40:55 +00:00
parent c6d4787954
commit b8fd6370f8
4 changed files with 6 additions and 51 deletions

View File

@@ -197,10 +197,7 @@ export class EmbedIframeErrorCard extends WithDisposable(LitElement) {
.std=${this.std}
.inSurface=${this.inSurface}
></embed-iframe-link-edit-popup>`,
portalStyles: {
zIndex: 'var(--affine-z-index-popover)',
},
container: this.host,
container: document.body,
computePosition: {
referenceElement: this._editButton,
placement: 'bottom-start',

View File

@@ -41,7 +41,6 @@ export class EmbedIframeLinkInputPopup extends EmbedIframeLinkInputBase {
border-radius: 8px;
background: ${unsafeCSSVarV2('layer/background/overlayPanel')};
box-shadow: ${unsafeCSSVar('overlayPanelShadow')};
z-index: var(--affine-z-index-modal);
font-family: ${unsafeCSS(baseTheme.fontSansFamily)};
}

View File

@@ -228,10 +228,7 @@ export class EmbedIframeBlockComponent extends CaptionedBlockComponent<EmbedIfra
.inSurface=${this.inSurface}
.options=${options}
></embed-iframe-link-input-popup>`,
portalStyles: {
zIndex: 'var(--affine-z-index-popover)',
},
container: this.host,
container: document.body,
computePosition: {
referenceElement: this._blockContainer,
placement: 'bottom',