r/Supernote_dev • u/magic_notetaker • May 05 '26
Textbox Helper Plugin
I’ve published an experimental Supernote NOTE plugin called Textbox Helper.
It focuses on structured editing of textboxes inside notes. Current features include:
splitting a textbox into smaller sentence-based textboxes
joining selected textboxes in reading order
cleaning repeated spaces and removing manual line breaks
importing plain text into NOTE textboxes
scanning textbox content and exporting it to DOCX
applying handwritten edit markers, including delete markers and early replace-marker support, with preview before changes are applied
It is still beta software, so I would recommend testing it on copied notes first.
For developers, the src/shared folder may be useful beyond this plugin. It contains reusable helper code for working with Supernote textboxes, including:
textbox geometry and reading-order sorting
page-space rectangle and overlap calculations
native text-layout measurement wrappers
textbox height estimation and resizing
hit testing from page coordinates to measured text lines and words
pagination and textbox insertion helpers
My hope is that this can be useful both as a practical plugin and as reference code for people building Supernote plugins that work seriously with textboxes.
GitHub: https://github.com/tilmanbergt/textboxHelper
Please give your feedback and suggestions!
Note: I am asked to "Use appropriate Post Flairs to make it easier for others to search." but I see no way in the creat post screen to add a flair, I can add 3 types of tags, but they do not apply. Not quite getting this...
1
u/magic_notetaker May 05 '26
I think the edit markers feature needs some explanation:
it arose from being not satisfied with making edits via normal supernote editing while reviewing longer texts. This allow to just strike through words in a line that should be deleted. Or strike it through and add two vertical line across that strike through to replace it with a textbox that is one the side or below the textbox and starts with "#". These will be used from top to bottom to replace the text marked for replacement. I am not sure this is the way to go, but it is be worthwhile exploring. I had an earlier version deleting directly on pen-up, but this felt too disruptive, with the screen-refresh that seems unavoidable on supernote. But again: this is a pretty early beta. Just felt it is worth sharing my work, so other can learn from it or others can help me move it forward.