Skip to content

Latest commit

 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

TextMeshPro WYSIWYG text editor Window

Unity EditorWindow to edit text with TextMeshPro tags with preview, undo, tag parameters

{A682FD1A-B83F-4F4A-90A7-201F5C1B86FF}

Installation

  • drop file: TmpWysiwygUiElementsWindow.cs- to folder: Assets/.../Editor/

Usage

  • open Window by MenuItem: Window/TextMeshPro/WYSIWYG Text Editor
  • paste original text to Clean text field (first big text field after toolbar)
  • select there any text part
  • in top most toolbar fill any tag parameters if need
  • toggle any effects
  • visually checkout preview at middle of window
  • tweak parameters, toggle effects if need
  • copy TextMeshPro-tagged text from Result text field
  • paste it to TextMeshPro-component text field (or to localization table etc)

Features

  • EditorWindow
  • Ctrl + Z / undo
  • preview inside EditorWindow
  • select clean text block -> apply/clear any effects
  • effects are togglable
  • clear all effects button
  • intersecting styles
  • final result text to copy/paste
  • supporting many TextMeshPro tags
  • tag parameters

Known Issues

  • alpha < 1 make next text blocks to disappear
  • inserting <sprite> tag require text selection (should be text caret position enough)
  • adding enter-new-lines after editing break character ordering (effects apply with offset)

Planned

  • installation as UPM-package
  • fix known issues
  • extract TextMeshPro-tags to continue edit after reboot
  • hotkeys

About

Unity EditorWindow to edit text with TextMeshPro tags with preview

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Contributors

Languages