Learn how the hyphenation works in Setka and how you can disable it if necessary.
What is hyphenation?
If this option is disabled, then all the words will start with a new line in case they do not fit in the previous one.
How does hyphenation work
Hyphenation rules depend on a language. HTML defines the post's language via a tag. Hyphenation works under 2 conditions:
1. if is included in a page code.
2. if there is a hyphenation dictionary available.
You can either set a language for the whole website via CMS or you can set it for each of your pages.
Automatic hyphenation for mobile devices
There is a CSS property hyphens: auto-addedby default for all text elements created via Setka Editor. The property is applied to narrow screens and activates automatic hyphenation.
Automatic hyphenation for the desktop version
By default, automatic hyphenation is disabled for the desktop version. To enable it, you need to do the following:
1. Make sure there us an attribute with the needed language added to your page's template
2. Add the following code to your website's styles:
.stk-reset {hyphens:auto;}
Read a more detailed description of how to set automatic hyphenation in your CMS in this article.
Disabling automatic hyphenation
Sometimes automatic hyphenation does not fit your layout design. In such cases, it can be disabled.
In a specific post
In order to disable hyphenation in a specific post, you need to:
1. Open a Post tab in the editor (in the Upper Toolbar).