{"id":3282,"date":"2024-04-17T09:18:05","date_gmt":"2024-04-17T09:18:05","guid":{"rendered":"https:\/\/helpcenter.greyd.io\/unwanted-breaks\/"},"modified":"2024-11-21T18:26:20","modified_gmt":"2024-11-21T17:26:20","slug":"unwanted-breaks","status":"publish","type":"post","link":"https:\/\/helpcenter.greyd.io\/unwanted-breaks\/","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
­ —> Soft Hyphen: Makes sure words break with an “-” if there’s not enough space. <\/p>\n
Manage<b>­<\/b>ment\n<\/pre>\n —> Non-breaking Space: Prevents breaking between two words.<\/p>\n
John<b> <\/b>Doe\n<\/pre>\nTo use HTML entities in the Block Editor, click on the three dots in the toolbar and select “Edit as HTML”:<\/p>\n
<\/p>\n
You can then insert your HTML entities and revert to the visual editor.<\/p>\n
<\/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":{"rank_math_lock_modified_date":false,"greyd_block_editor_preview":[],"footnotes":""},"categories":[1],"tags":[1194,1182,1191,1185,1188],"topics":[578],"class_list":["post-3282","post","type-post","status-publish","format-standard","hentry","category-general","tag-break","tag-breaks","tag-umbrechen","tag-umbruch","tag-umbrueche","topics-design"],"lang":"en","translations":{"en":3282,"de":3326},"pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/helpcenter.greyd.io\/wp-json\/wp\/v2\/posts\/3282"}],"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=3282"}],"version-history":[{"count":1,"href":"https:\/\/helpcenter.greyd.io\/wp-json\/wp\/v2\/posts\/3282\/revisions"}],"predecessor-version":[{"id":4500,"href":"https:\/\/helpcenter.greyd.io\/wp-json\/wp\/v2\/posts\/3282\/revisions\/4500"}],"wp:attachment":[{"href":"https:\/\/helpcenter.greyd.io\/wp-json\/wp\/v2\/media?parent=3282"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/helpcenter.greyd.io\/wp-json\/wp\/v2\/categories?post=3282"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/helpcenter.greyd.io\/wp-json\/wp\/v2\/tags?post=3282"},{"taxonomy":"topics","embeddable":true,"href":"https:\/\/helpcenter.greyd.io\/wp-json\/wp\/v2\/topics?post=3282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}