enhance(apis): rename tag functions to block tag for clarity and update version

This commit is contained in:
charlie
2025-11-05 17:02:38 +08:00
parent 51fbc705de
commit 9eb65b473e
4 changed files with 7 additions and 7 deletions

View File

@@ -781,8 +781,8 @@ export interface IEditorProxy extends Record<string, any> {
getAllProperties: () => Promise<PageEntity[] | null>
getTagObjects: (PageIdentity) => Promise<BlockEntity[] | null>
createTag: (tagName: string) => Promise<PageEntity | null>
addTag: (blockId: BlockIdentity, tagId: BlockIdentity) => Promise<void>
removeTag: (blockId: BlockIdentity, tagId: BlockIdentity) => Promise<void>
addBlockTag: (blockId: BlockIdentity, tagId: BlockIdentity) => Promise<void>
removeBlockTag: (blockId: BlockIdentity, tagId: BlockIdentity) => Promise<void>
prependBlockInPage: (
page: PageIdentity,