Currently, Balkón uses soft line break opportunities as provided by ICU, and when the smallest line break is not enough to make the line fit within paragraphMaxWidth
, Balkón will start breaking otherwise unbreakable strings (words), as with the CSS property values:
white-space: normal;
white-space: pre-wrap;
white-space: pre-line;
overflow-wrap: break-word;
overflow-wrap: anywhere;
Add a setting to support the current behaviour as well as two other options:
Option to disable these per-character wrap opportunities, to better support the default behaviour of web browsers, as with the CSS property value:
overflow-wrap: normal;
Option to disable all soft wrap opportunities, as with the CSS property values:
white-space: nowrap;
white-space: pre;