mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-19 23:37:15 +08:00
fix(editor): notion html adapter for embed link block (#9279)
[BS-1745](https://linear.app/affine-design/issue/BS-1745/[bug]-导入的notion-youtube-embed-错误)
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
import {
|
||||
embedFigmaBlockNotionHtmlAdapterMatcher,
|
||||
embedGithubBlockNotionHtmlAdapterMatcher,
|
||||
embedLoomBlockNotionHtmlAdapterMatcher,
|
||||
embedYoutubeBlockNotionHtmlAdapterMatcher,
|
||||
} from '@blocksuite/affine-block-embed';
|
||||
import { listBlockNotionHtmlAdapterMatcher } from '@blocksuite/affine-block-list';
|
||||
import { paragraphBlockNotionHtmlAdapterMatcher } from '@blocksuite/affine-block-paragraph';
|
||||
import type { BlockNotionHtmlAdapterMatcher } from '@blocksuite/affine-shared/adapters';
|
||||
@@ -21,6 +27,10 @@ export const defaultBlockNotionHtmlAdapterMatchers: BlockNotionHtmlAdapterMatche
|
||||
rootBlockNotionHtmlAdapterMatcher,
|
||||
bookmarkBlockNotionHtmlAdapterMatcher,
|
||||
databaseBlockNotionHtmlAdapterMatcher,
|
||||
attachmentBlockNotionHtmlAdapterMatcher,
|
||||
latexBlockNotionHtmlAdapterMatcher,
|
||||
embedYoutubeBlockNotionHtmlAdapterMatcher,
|
||||
embedFigmaBlockNotionHtmlAdapterMatcher,
|
||||
embedGithubBlockNotionHtmlAdapterMatcher,
|
||||
embedLoomBlockNotionHtmlAdapterMatcher,
|
||||
attachmentBlockNotionHtmlAdapterMatcher,
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user