logseq-plugin-automatic-url-title icon indicating copy to clipboard operation
logseq-plugin-automatic-url-title copied to clipboard

Conversion doesn't occur unless new block is added

Open chrisequalsdev opened this issue 2 years ago • 1 comments

Example case

  • Create new block
  • Paste url
  • Press Esc or Down arrow

Problem: Url in this block will not automatically convert until a new block is added to the page. I often find myself creating new empty blocks just to trigger the conversion then deleting these empty blocks after. It would be helpful if the conversion (also) occurred when I press Esc or Down when in the block containing the url I wish to convert.

chrisequalsdev avatar Jan 01 '23 04:01 chrisequalsdev

Edit: I guess this isn't so much an issue as it will eventually convert when a new block is added on any other page. It seems to be triggered by DB.onChanged, maybe onBlockChanged would be better?

chrisequalsdev avatar Jan 01 '23 04:01 chrisequalsdev