{"id":3326,"date":"2024-04-17T09:18:05","date_gmt":"2024-04-17T09:18:05","guid":{"rendered":"https:\/\/helpcenter.greyd.io\/unwanted-breaks-de\/"},"modified":"2024-12-26T18:29:13","modified_gmt":"2024-12-26T17:29:13","slug":"unwanted-breaks-de","status":"publish","type":"post","link":"https:\/\/helpcenter.greyd.io\/de\/unwanted-breaks-de\/","title":{"rendered":"How do I prevent unwanted breaks in texts\/headlines?"},"content":{"rendered":"

Depending on your screen size, it may happen that you see unwanted breaks in words (especially long ones), for example in headlines. There is a simple way to make sure words break only where and how you want them to: HTML entities.<\/p>\n

There are a lot of interesting HTML entities, however we’d like to highlight two in this context:<\/p>\n

&shy; —> Soft Hyphen: Makes sure words break with an “-” if there’s not enough space. <\/p>\n

Manage<b>&shy;<\/b>ment\n<\/pre>\n

&nbsp; —> Non-breaking Space: Prevents breaking between two words.<\/p>\n

John<b>&nbsp;<\/b>Doe\n<\/pre>\n

To use HTML entities in the Block Editor, click on the three dots in the toolbar and select “Edit as HTML”:<\/p>\n

\"Screenshot<\/p>\n

You can then insert your HTML entities and revert to the visual editor.<\/p>\n

\"Screenshot<\/p>\n","protected":false},"excerpt":{"rendered":"

Depending on your screen size, it may happen that you see unwanted breaks in words (especially long ones), for example in headlines. There is a simple way to make sure words break only where and how you want them to: HTML entities. There are a lot of interesting HTML entities, however we’d like to highlight […]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"greyd_block_editor_preview":[],"footnotes":""},"categories":[188],"tags":[1241,1233,1239,1235,1237],"topics":[626],"class_list":["post-3326","post","type-post","status-publish","format-standard","hentry","category-general","tag-break-de","tag-breaks-de","tag-umbrechen-de","tag-umbruch-de","tag-umbrueche-de","topics-design-de"],"lang":"de","translations":{"de":3326,"en":3282},"pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/helpcenter.greyd.io\/wp-json\/wp\/v2\/posts\/3326","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/helpcenter.greyd.io\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/helpcenter.greyd.io\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/helpcenter.greyd.io\/wp-json\/wp\/v2\/comments?post=3326"}],"version-history":[{"count":1,"href":"https:\/\/helpcenter.greyd.io\/wp-json\/wp\/v2\/posts\/3326\/revisions"}],"predecessor-version":[{"id":4827,"href":"https:\/\/helpcenter.greyd.io\/wp-json\/wp\/v2\/posts\/3326\/revisions\/4827"}],"wp:attachment":[{"href":"https:\/\/helpcenter.greyd.io\/wp-json\/wp\/v2\/media?parent=3326"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/helpcenter.greyd.io\/wp-json\/wp\/v2\/categories?post=3326"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/helpcenter.greyd.io\/wp-json\/wp\/v2\/tags?post=3326"},{"taxonomy":"topics","embeddable":true,"href":"https:\/\/helpcenter.greyd.io\/wp-json\/wp\/v2\/topics?post=3326"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}