typograph-editor-documentation
    Preparing search index...

    Release Notes - Version 1.0.0-20260623

    Hyphenation first implementation with only support for english-us

    New in this release hyphenation support

    • PageElementRichText fix justified text: distribute word spacing before each word
    • hyphenation is implemented using javascript library 'hypher'
    • extended PageElementRichText with hyphenation parameters
    • PageElementRichText by default uses en-us as language
    • The new properties are 'hyphenation_enabled', 'lang', 'min_chars_before', 'min_chars_after', 'hyphen_limit'

    Editor UI

    • hyphenation controls are shown in the toolbar when a PageElementRichText is in text-edit focus (after the baseline option)
    • a 'Hyphenate' on/off switch toggles hyphenation; 'Before', 'After' and 'Limit' number fields set min_chars_before, min_chars_after and hyphen_limit (0 = unlimited)
    • the number fields are greyed out while hyphenation is off; all edits are undoable and trigger a reflow
    • the new controls are host-configurable via the EditorUI API under keys 'toolbar.hyphenation', 'toolbar.hyphenation_toggle', 'toolbar.hyphenation_before', 'toolbar.hyphenation_after' and 'toolbar.hyphenation_limit'