jcryan
Forum Replies Created
-
Forum: Plugins
In reply to: [Classic Editor] TinyMCE clobbering multi-line tags with line breaks.Sorry, I wasn’t being clear. I should avoid writing responses at night when I’m cranky.
The wpautop issue was cleared up with the ‘preserved html’ plugin mentioned earlier. The new issue was a random span tag with a class of “mce_SELRES_start” that I took care of by adding the following option to the Advanced TinyMCE editor configuration plugin:
wp_keep_scroll_position false
So in summary, none of these issues turned out to be caused by the Classic Editor plugin as I had originally surmised. I added the “fixes” to the thread in case someone else stumbles this way. I can now move from the Visual tab to the Text tab and not have my code molested.
My thanks to all who provided input on this.
–JC
Forum: Plugins
In reply to: [Classic Editor] TinyMCE clobbering multi-line tags with line breaks.So the “issue” was reproduce-able under WordPress 4.9.8 on a fresh stack install of PHP and MySQL so I’m guessing it’s less of an issue and more a showing of my inexperience with the platform. Luckily I found this plugin: https://ww.wp.xz.cn/plugins/preserved-html-editor-markup/ which mostly did what I wanted the editor to do from the start: stop treating me like an idiot. That plugin worked on 4.9.8 and 5.0 to stop the line breaks but I’m still getting a ridiculous span tag I do not want, so the saga continues.
Where should I look in order to kill all of TinyMCE’s formatting abilities?
Forum: Plugins
In reply to: [Classic Editor] TinyMCE clobbering multi-line tags with line breaks.The Gutenberg plugin was not enabled, I believe the 5.0 update took care of that. I just updated the Classic Plugin to 1.2, deleted the old Gutenberg plugin, re-enabled ‘Dont Much My Markup’ and still have the same issue when I load a page in the classic editor and swap from Text to Visual. I’ll spin up a new vanilla 5.0 instance with no plugins so I can test in a sterile environment.
Thanks for your attention to this.
-JC
Forum: Plugins
In reply to: [Classic Editor] TinyMCE clobbering multi-line tags with line breaks.Thanks! I will see what I can get that plugin to do for me. Does anyone know if the same hooks apply to the classic editor now that it’s a plugin itself?
Forum: Plugins
In reply to: [Classic Editor] TinyMCE clobbering multi-line tags with line breaks.As an aside, the Block editor is adding these unwanted line breaks in as well when viewed in Code mode:
<style> .page-header.three{<br /> display: none;<br /> }<br /> .sbheader{<br /> background-image: url("https://www.jcryan.com/wp/wp-content/uploads/2018/12/HomeHeader.png");<br /> background-size: cover;<br /> height: 500px;<br /> width: 100vw;<br /> }<br /> .row-full{<br /> width: 100vw;<br /> position: relative;<br /> margin-left: -50vw;<br /> left: 50%;<br /> }<br /> </style> <div class="container-fluid sbheader row-full"></div>