mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-22 04:26:23 +08:00
refactor: refactor clipboard
This commit is contained in:
@@ -41,7 +41,9 @@ export class YoutubeBlock extends BaseView {
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
override async block2Text(block: AsyncBlock, selectInfo: SelectBlock) {
|
||||
return block.getProperty('embedLink')?.value ?? '';
|
||||
}
|
||||
override async block2html(
|
||||
block: AsyncBlock,
|
||||
children: SelectBlock[],
|
||||
|
||||
Reference in New Issue
Block a user