mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
enhance(apis): add reset option to upsertBlockProperty for block properties
This commit is contained in:
@@ -834,7 +834,10 @@ export interface IEditorProxy extends Record<string, any> {
|
||||
upsertBlockProperty: (
|
||||
block: BlockIdentity | EntityID,
|
||||
key: string,
|
||||
value: any
|
||||
value: any,
|
||||
options?: Partial<{
|
||||
reset: boolean
|
||||
}>
|
||||
) => Promise<void>
|
||||
|
||||
removeBlockProperty: (block: BlockIdentity | EntityID, key: string) => Promise<void>
|
||||
|
||||
Reference in New Issue
Block a user