Text Editing

All about text formatting, links and anchors.

Working with text in Setka Editor

In Setka Editor, the text is divided into paragraphs. Rather than working with single lines of text, formatting is applied to the whole paragraph. To change several paragraphs at the same time, hold CMD or CTRL and click on desired paragraphs to select multiple. Changes made will be applied to these paragraphs.

SHIFT+ENTER shortcut creates a new line in the same paragraph. It can be convenient when you are typing content in the Setka Editor rather than copying it from other sources. When inserting large pieces of text, the Editor will break it up into paragraphs.

Please learn more about working with text in Setka Editor in this short video:

Video tutorial on how to work with text in Setka Editor

How to format text?

In Setka Editor, you apply formatting and all keyboard shortcuts to the whole paragraph. However, you can also edit words and lines of text in the paragraph separately. For example, you can set words or lines as italic or bold and add anchors and links. You can see these options in the Selection tab in the Upper Toolbar as soon as you highlight a piece of text.

Selection tab in the Upper Toolbar in Setka Editor

How to delete a line?

Select some text or an element and press backspace to delete. Right-click inside the post and select Delete paragraph or Delete grid to remove larger elements.

How to switch text formats?

Click inside a paragraph. You will see the Format option in the Paragraph tab. These text styles are selected in the Content Design System Manager (CDSM).

How to select several paragraphs at the same time?

Hold CMD or CTRL and click the desired paragraphs. You can then apply the same changes to multiple paragraphs.

If you need to select the whole content of the article, press CMD/CTRL+SHIFT+A.

Video tutorial on how to select several paragraphs in Setka Editor and apply formatting at once

How to align text?

Click inside a paragraph. You will see text alignment options in the Paragraph tab in the Upper Toolbar: in the center, to the left or right, or by post width.

Paragraph tab in Upper Toolbar in Setka Editor with Text Alignmnet options

Why justified layout is not available?

As you can see, there is no justified alignment option. We've decided not to add this option for the following reasons:

1. Justified layout might create a visual mess inside text blocks

There are plenty of text alignment tools in the press: hyphenation, word spacing, wide and narrow font options, etc. Layouts with justified alignment look good only when it is made by hand by a professional typesetter. In the case of web pages, an uncontrolled increase in the width of spaces occurs.

2. Justified layouts are bad for readability

Justified text is harder to read. The eye is constantly forced to seek out the beginning of the next word and rearrange perception from row to row due to different-sized spaces.

3. Incompatibility with mobile devices

Such layout directly contradicts the requirements of mobile devices, for which the shorter the line, the better.

How to adjust bottom indentations?

Click inside the paragraph and select bottom indentation in pixels (px) in the Paragraph tab. You can also use CMD/CTRL+↑/↓ shortcut. Indent values are divisible by the line height parameter of the font you are using to maintain the post’s layout.

How to regulate internal indentations?

Internal indentations are margins at the top and bottom of a paragraph. Click inside the paragraph and select inner indent in pixels (px) in the Paragraph tab of the Upper Toolbar to alter these margins.

Bottom and Inner indents settings in the Paragraph tab in the Upper Toolbar in Setka Editor

How to change the text color?

To change the color or the text, click inside the paragraph, and select the color in the Paragraph tab in the Upper Toolbar. You set these colors in the Content Design System Manager (CDSM).

How to add icons to the text?

To add icons, click on the Side Toolbar. All icons and emojis added in your Style are displayed here.

Icons & emoji in the Side Toolbar in Setka Editor

Icons are scaled automatically according to the line height of the text next to which they are inserted.

Is there a way to set different colors for individual words?

No, you can only select a color for the whole paragraph. This was a conscious decision made by our designers to ensure the readability of your posts.

How to create an anchor?

An anchor provides an internal link or bookmark to another part of your post. They can be useful when creating tables of content for longer posts.

To create an anchor, click inside the paragraph (the paragraph where the anchor link needs to lead), select the Anchor option in the Paragraph tab of the Upper Toolbar, and give the anchor a name.

To reach this anchor from another part of your post, highlight the text element to add a link to and select the Anchor name in the Selection tab of the Upper Toolbar. This will add the link to the anchor. When the content is published, you can click this text or element, and it will take you directly to the part of the post where the anchor was applied.

Video tutorial on how to create an anchor in Setka Editor

You can always test the anchor link in the Post preview mode (you can activate it in the Side Toolbar or by pressing the TAB key).

How to make scrolling to anchors smooth?

By default, clicking on an anchor instantly takes you to the dedicated paragraph in the text. It is possible to turn this transition into a smooth scroll. Just add this code in the Custom CSS section on your style settings.

@at-root {
html, body { scroll-behavior: smooth; }
}

Please note that some browsers do not support smooth scrolling.

How to add a link?

Highlight a word or a text fragment. In the Selection tab of the Upper Toolbar, insert the link into the Link field.

Video tutorial on how to add a link in Setka Editor interface

How to add a table of contents?

If you are making a long post with multiple sections, you can add navigation for them. Add a table of contents before your article and assign an anchor for each header as described above.