kxxt / obsidian-advanced-paste

Advanced pasting functionality for obsidian
MIT License
42 stars 2 forks source link

Add Obsidian editor object as a utility #16

Closed AjaiKN closed 11 months ago

AjaiKN commented 11 months ago

In my case, I wanted my custom transform to be able to see the current line so that I could make the indentation level of the pasted content match the current line's indentation. If the Obsidian editor object is exposed, it allows me to do that.

kxxt commented 11 months ago

Thanks for your contribution :heart:!