Word-Hyphenation for Contao Front end pages.
A contao module that grants server-side hyphenation (thanks to org_heigl/hyphenator). It does support headlines and paragraphs by default.
To extend the functionality, all options can be adjusted within your localconfig.
|What type of tags the hyphenator should look at.
|Words under the given length will not be hyphenated altogether. It makes sense to set option to a higher value than the sum of rightMin and leftMin.
|How many characters have to be left unhyphenated to the left of the word.
|How many characters have to be left unhyphenated to the right of the word.
|How good shal the hyphenation be. The higher the number the better. THis can be any integer from 0 (no Hyphenation at all) through 9 (best hyphernation).
|This character shall be used as Hyphen-Character.
|A comma-separated list of filters to use for postprocessing the hyphenated text The filters have to extend the Org\Heigl\Filter\Filter-class. The filters can be given by using the Part of the Classname before the “Filter”. So for the SimpleFilter it would suffice to use “Simple” as name of the filter.
|A list of tokenizers to use for splitting the text to be hyphenated into hypheable chunks. The tokenizers have to implement the Org\Heigl\Tokenizer\Tokenizer-interface. The tokenizers can be given by using the Part of the Classname before the “Tokenizer”. So for the WhitespaceTokeinzer it would suffice to use “Whitespace” as name of the tokenizer.
|Array of Contao Page Ids, the Hyphenator should skip from hyphenation.