chore: fix remote image export in markdown
This commit is contained in:
@@ -13,7 +13,7 @@ const MenuSection = ({
|
||||
return (
|
||||
<div
|
||||
className={classNames(
|
||||
'my-4 md:my-2 md:border-b md:border-border md:pb-2 md:last:mb-0 md:last:border-b-0 md:last:pb-0 md:translucent-ui:border-[--popover-border-color]',
|
||||
'my-4 md:my-2 md:border-b md:border-border md:pb-2 md:last:mb-0 md:last:border-b-0 md:last:pb-0 md:first:last:mt-0 md:translucent-ui:border-[--popover-border-color]',
|
||||
className,
|
||||
)}
|
||||
>
|
||||
|
||||
@@ -75,6 +75,10 @@ export class RemoteImageNode extends DecoratorBlockNode {
|
||||
return { element }
|
||||
}
|
||||
|
||||
override getTextContent(): string {
|
||||
return ``
|
||||
}
|
||||
|
||||
decorate(_editor: LexicalEditor, config: EditorConfig): JSX.Element {
|
||||
const embedBlockTheme = config.theme.embedBlock || {}
|
||||
const className = {
|
||||
|
||||
Reference in New Issue
Block a user