TextCutter is a lightweight plugin for Figma to split or join text layers. There is no UI, and it's focused on speed of interaction.
There is two commands in the plugin:
Splitting single selected text layer to several ones by the line break. The width of the text layers kept the same as the original.
After splitting all created layers are selected, so you can wrap them into autolayout, group or frame, or just drag around as you like.
Merging all texts from the selected text layers into the top-leftmost one, adding white spaces between merged texts. Width of the target layer stays preserved.
- Width of text layers preserved both with splitting and joining
- Not throwing an error when joining or splitting texts with different parameters, all mixed styling just drops to the first character's style.
- If there is a text style applied on the first character when splitting it is preserved on all the split layers
- If there is a text style applied to the top-leftmost text layer when joining it will be applied to the whole text.
Install it via Figma Community plugin page here
It is handy to assign both commands to hotkeys and use it along with OCR software that helps extract texts from images, such as TextSniper.