Skip to content

vdmp/textcutter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TextCutter

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:

Split text

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.

Join text

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.

Details

  • 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.

Usage

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 55.7%
  • TypeScript 44.3%