refactor: refactor clipboard

This commit is contained in:
QiShaoXuan
2022-08-21 22:58:41 +08:00
parent 66a36481e1
commit 17e454b1e6
24 changed files with 592 additions and 346 deletions
@@ -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[],