-
Feature Request
-
Resolution: Done
-
Major
-
7.2.0.Final
-
2017 Week 34-35, 2017 Week 36-37, 2017 Week 38-39, 2017 Week 40-41-42
cchianel has done a great job with the text wrapping in Lienzo however it'd be nice if this could be further enhanced to support different (pluggable) "splitters". At the moment it splits a String onto new lines when the bounding box necessitates a wrap; however there are other scenarios when splitting onto new lines would be advantageous. For example when a String contains line-breaks it would be good to preserve them (indeed the "DMN Editor" allows text entry with a TextArea with which the User can enter line-breaks. These need to be preserved when the text is rendered to the canvas.
I don't mind if you want to only support wrapping and/or line-breaks but I thought moving Text to support a pluggable mechanism would be the most flexible with two (or three?) default implementations for "word wrap", "line break" (and "word-wrap and line-break"?)
- is related to
-
JBPM-5543 Stunner - in-line name editor with multi line name support requried
- Closed