{"id":885,"date":"2019-04-09T15:07:48","date_gmt":"2019-04-09T13:07:48","guid":{"rendered":"https:\/\/mailfino.com\/?p=885"},"modified":"2024-08-14T16:25:44","modified_gmt":"2024-08-14T14:25:44","slug":"how-to-solve-problems-with-the-selection-of-texts-in-the-newsletter","status":"publish","type":"post","link":"https:\/\/www.mailfino.de\/en\/so-loesen-sie-probleme-bei-der-auswahl-von-texten-im-newsletter\/","title":{"rendered":"Mark &amp; edit texts correctly"},"content":{"rendered":"<div data-elementor-type=\"wp-post\" data-elementor-id=\"885\" class=\"elementor elementor-885\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-7cde6fc8 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"7cde6fc8\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-41b8d1a5\" data-id=\"41b8d1a5\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-797f6fb elementor-widget elementor-widget-text-editor\" data-id=\"797f6fb\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\n<p>Sometimes, when selecting texts, MyNewsletter.rocks inserts the cryptic words MNR_begin_selection or MNR_end_selection into the text instead of selecting a text as desired.<\/p>\n\n\n\n<p>MyNewsletter.rocks should actually generate a SPAN from these two terms, which represents the selected text. However, this cannot work if the text formatting is a complete mess!<\/p>\n\n\n\n<p>Let's take a look at the problem using an example:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Example<\/h2>\n\n\n\n<p>We have a text element that looks like this:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"http:\/\/52.28.82.207\/wp-content\/uploads\/2019\/04\/newsletter_textauswahl_problem1.png\" alt=\"\" class=\"wp-image-894\" width=\"534\" height=\"62\" srcset=\"https:\/\/www.mailfino.de\/wp-content\/uploads\/2019\/04\/newsletter_textauswahl_problem1.png 1068w, https:\/\/www.mailfino.de\/wp-content\/uploads\/2019\/04\/newsletter_textauswahl_problem1-200x23.png 200w, https:\/\/www.mailfino.de\/wp-content\/uploads\/2019\/04\/newsletter_textauswahl_problem1-300x35.png 300w, https:\/\/www.mailfino.de\/wp-content\/uploads\/2019\/04\/newsletter_textauswahl_problem1-768x89.png 768w, https:\/\/www.mailfino.de\/wp-content\/uploads\/2019\/04\/newsletter_textauswahl_problem1-1024x119.png 1024w\" sizes=\"(max-width: 534px) 100vw, 534px\" \/><\/figure><\/div>\n\n\n\n<p>There are difficulties when marking the date with the cursor, the date or individual parts of it may not be able to be selected correctly. If we look at the corresponding document outline, the reason for the problems with the text selection becomes immediately clear:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img fetchpriority=\"high\" decoding=\"async\" src=\"http:\/\/52.28.82.207\/wp-content\/uploads\/2019\/04\/newsletter_textauswahl_problem2.png\" alt=\"\" class=\"wp-image-892\" width=\"325\" height=\"389\" srcset=\"https:\/\/www.mailfino.de\/wp-content\/uploads\/2019\/04\/newsletter_textauswahl_problem2.png 650w, https:\/\/www.mailfino.de\/wp-content\/uploads\/2019\/04\/newsletter_textauswahl_problem2-200x239.png 200w, https:\/\/www.mailfino.de\/wp-content\/uploads\/2019\/04\/newsletter_textauswahl_problem2-251x300.png 251w\" sizes=\"(max-width: 325px) 100vw, 325px\" \/><\/figure><\/div>\n\n\n\n<p>We are dealing with an almost endless number of nested formatting on this small text module!<\/p>\n\n\n\n<p>No wonder there are problems.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The only thing that helps is tidying up<\/h2>\n\n\n\n<p>There's only one thing to do: clean up properly! And this is how it works:<\/p>\n\n\n\n<p>Right-click on the text box and then select <strong>Delete formatting<\/strong>&nbsp;<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"http:\/\/52.28.82.207\/wp-content\/uploads\/2019\/04\/newsletter_textauswahl_problem3.png\" alt=\"\" class=\"wp-image-895\" width=\"218\" height=\"40\" srcset=\"https:\/\/www.mailfino.de\/wp-content\/uploads\/2019\/04\/newsletter_textauswahl_problem3.png 436w, https:\/\/www.mailfino.de\/wp-content\/uploads\/2019\/04\/newsletter_textauswahl_problem3-200x37.png 200w, https:\/\/www.mailfino.de\/wp-content\/uploads\/2019\/04\/newsletter_textauswahl_problem3-300x55.png 300w\" sizes=\"(max-width: 218px) 100vw, 218px\" \/><\/figure><\/div>\n\n\n\n<p>The command <strong>Delete formatting<\/strong> converts the complete content of a text element into unformatted text (with the function <strong>Undo<\/strong> the process can be reset if necessary).&nbsp;<\/p>\n\n\n\n<p>After deleting the formatting, the block looks like this:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/52.28.82.207\/wp-content\/uploads\/2019\/04\/newsletter_textauswahl_problem4-1024x82.png\" alt=\"\" class=\"wp-image-896\" width=\"512\" height=\"41\" srcset=\"https:\/\/www.mailfino.de\/wp-content\/uploads\/2019\/04\/newsletter_textauswahl_problem4-1024x82.png 1024w, https:\/\/www.mailfino.de\/wp-content\/uploads\/2019\/04\/newsletter_textauswahl_problem4-200x16.png 200w, https:\/\/www.mailfino.de\/wp-content\/uploads\/2019\/04\/newsletter_textauswahl_problem4-300x24.png 300w, https:\/\/www.mailfino.de\/wp-content\/uploads\/2019\/04\/newsletter_textauswahl_problem4-768x62.png 768w, https:\/\/www.mailfino.de\/wp-content\/uploads\/2019\/04\/newsletter_textauswahl_problem4.png 1048w\" sizes=\"(max-width: 512px) 100vw, 512px\" \/><\/figure><\/div>\n\n\n\n<p>The bold font has disappeared and the entire text is displayed slightly smaller (the size is 12px instead of 14px).<\/p>\n\n\n\n<p>Let's adjust the text size first. As the text size should be the same throughout the element, it makes no sense to select the text and assign a new size to the selected text. <\/p>\n\n\n\n<p>Instead, we click on the <strong>Textbox<\/strong>to select it (if it is not already selected). We then assign the entire <strong>Textbox<\/strong> the <strong>Font size 14px<\/strong> to:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/52.28.82.207\/wp-content\/uploads\/2019\/04\/newsletter_textauswahl_problem5.png\" alt=\"\" class=\"wp-image-897\" width=\"316\" height=\"448\" srcset=\"https:\/\/www.mailfino.de\/wp-content\/uploads\/2019\/04\/newsletter_textauswahl_problem5.png 632w, https:\/\/www.mailfino.de\/wp-content\/uploads\/2019\/04\/newsletter_textauswahl_problem5-200x284.png 200w, https:\/\/www.mailfino.de\/wp-content\/uploads\/2019\/04\/newsletter_textauswahl_problem5-212x300.png 212w\" sizes=\"(max-width: 316px) 100vw, 316px\" \/><\/figure><\/div>\n\n\n\n<p>In this way, the size of the font for the <strong>entire text box<\/strong> clearly defined.&nbsp;<\/p>\n\n\n\n<p>The next step will be the <strong>Fat<\/strong> marked area can be restored. To do this, we select the entire text that is to increase in weight, which is now done without any problems:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/52.28.82.207\/wp-content\/uploads\/2019\/04\/newsletter_textauswahl_problem8.png\" alt=\"\" class=\"wp-image-900\" width=\"179\" height=\"30\" srcset=\"https:\/\/www.mailfino.de\/wp-content\/uploads\/2019\/04\/newsletter_textauswahl_problem8.png 358w, https:\/\/www.mailfino.de\/wp-content\/uploads\/2019\/04\/newsletter_textauswahl_problem8-200x34.png 200w, https:\/\/www.mailfino.de\/wp-content\/uploads\/2019\/04\/newsletter_textauswahl_problem8-300x50.png 300w\" sizes=\"(max-width: 179px) 100vw, 179px\" \/><\/figure><\/div>\n\n\n\n<p>In the element properties on the right-hand side, click B for <strong>Bold<\/strong> or fat on<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/52.28.82.207\/wp-content\/uploads\/2019\/04\/newsletter_textauswahl_problem7.png\" alt=\"\" class=\"wp-image-899\" width=\"317\" height=\"202\" srcset=\"https:\/\/www.mailfino.de\/wp-content\/uploads\/2019\/04\/newsletter_textauswahl_problem7.png 634w, https:\/\/www.mailfino.de\/wp-content\/uploads\/2019\/04\/newsletter_textauswahl_problem7-200x127.png 200w, https:\/\/www.mailfino.de\/wp-content\/uploads\/2019\/04\/newsletter_textauswahl_problem7-300x191.png 300w\" sizes=\"(max-width: 317px) 100vw, 317px\" \/><\/figure><\/div>\n\n\n\n<p>Result: the block looks exactly the same as before - but it is much easier to edit because it is now properly formatted!<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>Manchmal kommt es bei der Auswahl von Texten dazu, dass MyNewsletter.rocks statt einen Text wie gew\u00fcnscht auszuw\u00e4hlen die kryptischen Worte MNR_begin_selection oder MNR_end_selection in den Text einf\u00fcgt. MyNewsletter.rocks sollte aus diesen beiden Begriffen eigentlich ein SPAN erzeugen, der den markierten Text repr\u00e4sentiert. Dies kann aber nicht funktionieren, wenn die Textformatierung ein heilloses Durcheinander ist! Sehen [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2843,"comment_status":"open","ping_status":"open","sticky":false,"template":"elementor_header_footer","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-885","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-e-mail-marketing-tips"],"_links":{"self":[{"href":"https:\/\/www.mailfino.de\/en\/wp-json\/wp\/v2\/posts\/885","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mailfino.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mailfino.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mailfino.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mailfino.de\/en\/wp-json\/wp\/v2\/comments?post=885"}],"version-history":[{"count":4,"href":"https:\/\/www.mailfino.de\/en\/wp-json\/wp\/v2\/posts\/885\/revisions"}],"predecessor-version":[{"id":2844,"href":"https:\/\/www.mailfino.de\/en\/wp-json\/wp\/v2\/posts\/885\/revisions\/2844"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mailfino.de\/en\/wp-json\/wp\/v2\/media\/2843"}],"wp:attachment":[{"href":"https:\/\/www.mailfino.de\/en\/wp-json\/wp\/v2\/media?parent=885"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mailfino.de\/en\/wp-json\/wp\/v2\/categories?post=885"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mailfino.de\/en\/wp-json\/wp\/v2\/tags?post=885"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}