briansunter/logseq-plugin-gpt3-openai

Only show built in prompts when there's block input

briansunter opened this issue · 0 comments

If the user doesn't have a block selected, or if the block is empty, hide the built in prompts. This is to prevent running prompts like the "summarize" command, if they don't have a block selected. Only allow custom commands when selecting an empty block, or when no block is selected.