r/Supernote_dev • u/osheroff • Oct 12 '26
Question dev help; insert elements pre-lasso'ed
Hi,
Wondering if anyone has figured this out; I'm create a text link and want to paste it into the current note -- but with the plugin API as it stands I have to know the co-ordinates where I'm pasting it ahead of time. This can crash into existing text on the page; what I really want to be able to do is insert the element as a floating, lasso'ed selection, in the same way that the system does when you cut and paste an element.
Anyone figure out how to do this? Claude found a method to paste the text and then immediately lasso it but it can still crash into pre-existing elements.
thanks
osheroff
View all comments
Show parent comment
1
u/osheroff Oct 12 '26
no luck eh; we get `showLassoAfterInsert: boolean` in the geometry insert which seems perfect but nothing equivalent for all the other insertion methods it seems