This is picker sample that show you how to use slash command and position popup ui :)
registerSlashCommand: (tag: string, action: BlockCommandCallback | Array<SlashCommandAction>) => booleangetEditingCursorPosition: () => Promise<BlockCursorPosition | null>
npm install && npm run buildin terminal to install dependencies- navigate to the plugins dashboard: tp
- click
Load unpacked pluginbutton in Logseq Desktop client - select this sample directory to load it
