{"id":770,"date":"2012-10-16T12:05:56","date_gmt":"2012-10-16T04:05:56","guid":{"rendered":"http:\/\/binaryone.com.au\/?p=770"},"modified":"2023-11-23T08:47:54","modified_gmt":"2023-11-23T08:47:54","slug":"ultimate-tinymce-switching-between-the-visual-and-html-editor","status":"publish","type":"post","link":"https:\/\/binaryone.com.au\/23\/ultimate-tinymce-switching-between-the-visual-and-html-editor\/","title":{"rendered":"Ultimate TinyMCE Switching between the visual and html editor"},"content":{"rendered":"\n<p>As seen on the wordpress forum&#8230;<\/p>\n\n\n\n<p><span style=\"color: #791e43;\"><strong>Posted by allanit<\/strong><\/span><\/p>\n\n\n\n<p>Hi<\/p>\n\n\n\n<p>When I switch between the visual and html editor the layout of the code in html editor goes to one line of code. If I switch back to the visual editor and then back to the html editor the layout is corrected.<\/p>\n\n\n\n<p><span style=\"color: #791e43;\"><strong>Posted by Josh<\/strong><\/span><\/p>\n\n\n\n<p>I haven&#8217;t heard of this issue before. You might want to try the typical plugin routine to make sure it is not a plugin conflict.<\/p>\n\n\n\n<p><span style=\"color: #791e43;\"><strong>Posted by allanit<\/strong><\/span><\/p>\n\n\n\n<p>Hi Josh<\/p>\n\n\n\n<p>Turning off all the other plugins made this problem intermittent \ud83d\ude41 Sorry I know this makes it worse.<\/p>\n\n\n\n<p>AllanIT<\/p>\n\n\n\n<p><span style=\"color: #791e43;\"><strong>Posted by Josh<\/strong><\/span><\/p>\n\n\n\n<p>Lol&#8230; yes, it does \ud83d\ude09<\/p>\n\n\n\n<p>Let&#8217;s see&#8230;<\/p>\n\n\n\n<p>Other than the options you have set for the buttons group one and the buttons group 2&#8230; go ahead and make sure all other options are NOT selected. This includes the options in the admin settings and the miscellaneous features.<\/p>\n\n\n\n<p>Perhaps one of those options in the settings panel is interfering??<\/p>\n\n\n\n<p><span style=\"color: #791e43;\"><strong>Posted by allanit<\/strong><\/span><\/p>\n\n\n\n<p>Hi Josh<\/p>\n\n\n\n<p>I finally found time today to address the problem at the beginning of this thread. But something in the last two updates has fixed the problem in the Pages editor but not in the Posts editor.<\/p>\n\n\n\n<p>AllanIT<\/p>\n\n\n\n<p><span style=\"color: #791e43;\"><strong>Posted by josh<\/strong><\/span><\/p>\n\n\n\n<p>Hello Allan,<\/p>\n\n\n\n<p>Okay. Let&#8217;s knock this out!<\/p>\n\n\n\n<p>Can you post a link to a screenshot of the two instances you describe. One of the code in the pages&#8230; and another of the code in the posts.<\/p>\n\n\n\n<p>Let me visually see what&#8217;s going on, and it should help.<\/p>\n\n\n\n<p>Thanks.<\/p>\n\n\n\n<p><span style=\"color: #791e43;\"><strong>Posted by allanit<\/strong><\/span><\/p>\n\n\n\n<p>Hi Josh<br><a href=\"http:\/\/binaryone.com.au\/ultimate-tinymce-switching-between-the-visual-and-html-editor\/\" target=\"_blank\" rel=\"noopener\">Here is the link to the two screen shots.<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"819\" src=\"https:\/\/192.168.0.150\/23\/wp-content\/uploads\/2012\/10\/Visual-editor-1-1024x819.png\" alt=\"An image of the WordPress HTML editor displaying incorrectly.\" class=\"wp-image-773\" srcset=\"https:\/\/binaryone.com.au\/23\/wp-content\/uploads\/2012\/10\/Visual-editor-1.png 1024w, https:\/\/binaryone.com.au\/23\/wp-content\/uploads\/2012\/10\/Visual-editor-1-300x240.png 300w, https:\/\/binaryone.com.au\/23\/wp-content\/uploads\/2012\/10\/Visual-editor-1-768x614.png 768w, https:\/\/binaryone.com.au\/23\/wp-content\/uploads\/2012\/10\/Visual-editor-1-1536x1228.png 1536w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"819\" src=\"https:\/\/192.168.0.150\/23\/wp-content\/uploads\/2012\/10\/Visual-editor-2-1024x819.png\" alt=\"An image of the WordPress HTML editor displaying correctly.\" class=\"wp-image-774\" srcset=\"https:\/\/binaryone.com.au\/23\/wp-content\/uploads\/2012\/10\/Visual-editor-2.png 1024w, https:\/\/binaryone.com.au\/23\/wp-content\/uploads\/2012\/10\/Visual-editor-2-300x240.png 300w, https:\/\/binaryone.com.au\/23\/wp-content\/uploads\/2012\/10\/Visual-editor-2-768x615.png 768w, https:\/\/binaryone.com.au\/23\/wp-content\/uploads\/2012\/10\/Visual-editor-2-1536x1229.png 1536w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>As seen on the wordpress forum&#8230; Posted by allanit Hi When I switch between the visual and html editor the layout of the code in html editor goes to one line of code. If I switch back to the visual editor and then back to the html editor the layout is corrected. Posted by Josh [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[26,28],"tags":[41,22,27,42,29],"class_list":["post-770","post","type-post","status-publish","format-standard","hentry","category-ultimate-tinymce","category-wordpress","tag-html-editor","tag-image","tag-ultimate-tinymce","tag-visual-editor","tag-wordpress-2"],"aioseo_notices":[],"featured_image_src":null,"author_info":{"display_name":"Allan","author_link":"https:\/\/binaryone.com.au\/23\/author\/allan-cheesman-binaryone\/"},"_links":{"self":[{"href":"https:\/\/binaryone.com.au\/23\/wp-json\/wp\/v2\/posts\/770","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/binaryone.com.au\/23\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/binaryone.com.au\/23\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/binaryone.com.au\/23\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/binaryone.com.au\/23\/wp-json\/wp\/v2\/comments?post=770"}],"version-history":[{"count":2,"href":"https:\/\/binaryone.com.au\/23\/wp-json\/wp\/v2\/posts\/770\/revisions"}],"predecessor-version":[{"id":2468,"href":"https:\/\/binaryone.com.au\/23\/wp-json\/wp\/v2\/posts\/770\/revisions\/2468"}],"wp:attachment":[{"href":"https:\/\/binaryone.com.au\/23\/wp-json\/wp\/v2\/media?parent=770"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/binaryone.com.au\/23\/wp-json\/wp\/v2\/categories?post=770"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/binaryone.com.au\/23\/wp-json\/wp\/v2\/tags?post=770"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}