mirror of
https://github.com/logseq/logseq.git
synced 2026-04-25 06:35:02 +00:00
Enhance: plugin APIs (#10399)
* enhance(plugin): call apis with the sdk ns * enhance(plugin): types * enhance(api): get value from the computed style * enhance(api): types * enhance(plugin): types * enhance(plugin): types * fix: lint * fix(apis): incorrect shortcut command registion for block editing mode #10392 * fix(api): types * enhance(apis): support register shortcuts with multi binding vals * fix(plugins): normalize command key to make the internal keyword legal * chore(plugin): build libs core * chore(plugin): bump version * enhance(apis): normalize apis cljs data * chore(plugin): update libs user sdk * chore(plugin): CHANGELOG.md * fix: typo * fix(ux): support querying plugins with right space chars
This commit is contained in:
@@ -4,8 +4,20 @@ All notable changes to this project will be documented in this file.
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.0.15]
|
||||
## [0.0.16]
|
||||
### Added
|
||||
- Support api of `logseq.UI.queryElementRect: (selector: string) => Promise<DOMRectReadOnly | null>`
|
||||
- Support api of `logseq.UI.queryElementById: (id: string) => Promise<string | boolean>`
|
||||
- Support api of `logseq.UI.checkSlotValid: (slot: UISlotIdentity['slot']) => Promise<boolean>`
|
||||
- Support api of `logseq.UI.resolveThemeCssPropsVals: (props: string | Array<string>) => Promise<any>`
|
||||
- Support api of `logseq.Assets.builtInOpen(path: string): Promise<boolean | undefined>`
|
||||
|
||||
### Fixed
|
||||
- fix Plugin can't register command shortcut with editing mode [#10392](https://github.com/logseq/logseq/issues/10392)
|
||||
- fix [Plugin API] [Keymap] Command without keybinding can't be present in Keymap [#10466](https://github.com/logseq/logseq/issues/10466)
|
||||
- fix [Possible DATA LOSS] [Plugin API] [Keymap] Any plugin could break the global config.edn [#10465](https://github.com/logseq/logseq/issues/10465)
|
||||
|
||||
## [0.0.15]
|
||||
### Added
|
||||
- Support a plug-in flag for the plugin slash commands item
|
||||
- Support api of `logseq.App.setCurrentGraphConfigs: (configs: {}) => Promise<void>`
|
||||
|
||||
Reference in New Issue
Block a user