0x7b1 / logseq-plugin-automatic-url-title

MIT License
50 stars 16 forks source link

Conversion doesn't occur unless new block is added #14

Open chrisequalsdev opened 1 year ago

chrisequalsdev commented 1 year ago

Example case

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 commented 1 year ago

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?