Releases: britzl/defold-richtext
Defold RichText 5.16.0
NEW: Added richtext.remove(words) to remove previously created words (nodes). Thanks to @8bitskull
Defold RichText 5.15.0
NEW: Added <repeat=count>text</repeat>
tag to repeat enclosed text
Defold RichText 5.14.0
FIX: Empty tags were incorrectly merged with the words prior to the tag
NEW: Image and spine count is returned in text metrics
NEW: Support for custom named colors
Defold RichText 5.13.0
NEW: Added vertical align setting for the words on each line
Defold RichText 5.12.0
NEW: Added support for <p>
paragraph tags. Thanks @dapetcu21 !
Defold RichText 5.11.0
NEW: richtext.ALIGN_JUSTIFY
Defold RichText 5.10.2
FIX: Zero-width space should be treated as individual words
FIX: Cleaned up examples
Defold RichText 5.10.1
FIX: The recent parser changes sometimes generated additional empty words. Fixes #49
Defold RichText 5.10.0
NEW: Added zero-width space character support via custom HTML entity &zwsp;
Defold RichText 5.9.0
CHANGE: richtext.truncate()
now has an options table as a third argument and an option to truncate on a per word basis instead of per character. The length will in this case indicate how many words to show instead of how many characters.