kjk / edna

Note taking for developers and power users
https://edna.arslexis.io
Other
391 stars 18 forks source link

Functions and cross-block selection #47

Open kjk opened 4 months ago

kjk commented 4 months ago

A selection can cross blocks.

The text simply contains the block markers so when running functions, especially when replacing the selection, it's probably not wise to operate on that selection.

Simple and safe is probably to limit the selection to first block. I'm sure it'll cause confusion but we can document that.

Also we might add a way to over-ride that and send the whole selection.