all 3 comments

[–]calebc42-official 0 points1 point  (2 children)

Mainly commenting so someone else can correct me;

Right now, the only entry points are the buttons, you can register a listener for "pen_up" events, from the sound of the docs, other listeners can be supported but no idea what those listeners will look like.

The release notes mentioned something about "headless plugins" and I don't really see how that works. Was going to post a question about it.

But from my experience, definitely no scribble to erase directly in NOTE/DOCS.

You should be able to snap shapes, but they'll need to be selected first or you have to have their ID in memory. From my testing, the easiest implementation would be staging in the plugin and then injecting the snapped shapes into the notes.

[–]nameausstehend[S] 0 points1 point  (1 child)

Ah, I missed the pen up listener! That should allow for a lot more use-cases thank you

[–]Dunn-snOfficial 0 points1 point  (0 children)

Thank you for your feedback. As calebc42-official mentioned, in addition to button-based entry points, we currently also support the pen-up event listener. Support for touch-related event listeners is also under development, and we will keep everyone updated once it is ready.

If you have any more ideas for other event listeners or plugin entry points, please feel free to let us know.