mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
Enhance: plugin-related improvements (#8787)
- fix: Select and Input elements rendered using provideUI via onMacroRendererSlotted don't function #8374 - fix: logseq.Editor.getPageBlocksTree does not work when page uuid is passed in as param #4920 - feat: add a plug-in flag for the plugin slash commands item - feat: add logseq.App.setCurrentGraphConfigs: (configs: {}) => Promise<void> - feat: add hook logseq.App.onTodayJournalCreated: IUserHook<{ title: string } - enhance: auto-check updates for the installed plugins from Marketplace - feat: expose template-related APIs to SDK
This commit is contained in:
@@ -23,6 +23,7 @@ import {
|
||||
PluginLogger,
|
||||
} from './helpers'
|
||||
import * as pluginHelpers from './helpers'
|
||||
import DOMPurify from 'dompurify'
|
||||
import Debug from 'debug'
|
||||
import {
|
||||
LSPluginCaller,
|
||||
@@ -1606,6 +1607,7 @@ function setupPluginCore(options: any) {
|
||||
debug('=== 🔗 Setup Logseq Plugin System 🔗 ===')
|
||||
|
||||
window.LSPluginCore = pluginCore
|
||||
window.DOMPurify = DOMPurify
|
||||
}
|
||||
|
||||
export { PluginLocal, pluginHelpers, setupPluginCore }
|
||||
|
||||
Reference in New Issue
Block a user