Flaky WordPress editor

  • Unknown's avatar

    Seems when I published a nice version in block mode of a math blog today and then tried to add tags in an edit mode, the editor introduced a flawed version that does not recognize my LaTeX correctly if at all. It’s happened before, but today after 10 hours of editing and continually getting suitable previews, it’s a little much. Is this happening to other users? What to do about it?

  • Hi @tcjpn could you send a few more details?

    – Let us know which page or post you were working on

    – If possible, get before / after screenshots and upload them to https://wordpress.com/media

    You’ll also want to check to see if you can revert using Revisions. We have details here:
    https://en.support.wordpress.com/editors/page-post-revisions/

  • Unknown's avatar

    Yes, this morning I was able with some difficulty find a previous version that was not corrupted and published it without two minor, but desirable changes. (Walking on thin ice.) The revision history and code editor will show the corrupted text while the work version in visual editor (block mode) does not. An example of a similar problem in a new post attempted today:

    Visual editor (peachy keen):

    $latex ER= begin{bmatrix}1 & & & & \ 1 & 1 & & & \ 3 & 6 & 1 & & \ 15 & 45 & 15 & 1 &\105 & 420 & 210 & 28 & 1end{bmatrix}$

    Code editor (trash):

    <!– wp:paragraph –>
    <p><br>$latex ER^{-1}= begin{bmatrix}1 &  &  &  & \ -1 &  1 &  &  & \ 3 &  -6 &  1 & & \ -15 & 45 & -15 &  1 &\105 & -420 & 210 & -28 & 1end{bmatrix}$</p>
    <!– /wp:paragraph –>

  • Hm, it looks like that was added as a Paragraph block.

    Try a Custom HTML block instead: https://wordpress.com/support/wordpress-editor/blocks/custom-html-block/

  • Unknown's avatar

    Sorry. The code editor copy is

    $latex ER= begin{bmatrix}1 &  &  &  & \ 1 &  1 &  &  & \ 3 &  6 &  1 & & \ 15 & 45 & 15 &  1 &\105 & 420 & 210 & 28 & 1end{bmatrix}$

  • Unknown's avatar

    The code is not being shown “as is” in the emails. There is an nbsp being inserted after each & in the LaTex matrix statements . Apparently email ignores this, so you don’t see it in the email once I send it, but, when I publish, it actually show a “no parse” statement or the “nbsp”s. Come to think of it, I (and others) have had problems with LaTex matrix code in WordPress in the past.

  • Unknown's avatar

    If I wanted to use HTML code in Custom blocks, then I probably would have no need for WordPress, right? It’s partly the ease of publishing that WordPress sells.

  • I understand the frustration, but our documentation specifically states that you need to use the Custom HTML block for LaTeX code: https://wordpress.com/support/latex/

    Once you choose the Custom HTML block, you simply paste your LaTeX into it, but it must be the Custom HTML block. It won’t work properly in any other block.

  • Unknown's avatar

    That’s an unwelcome change from the not-so-long-ago past when I used the old classic editor. I’ll revert back to generating pdfs as a more viable option and placing them on my site. It’s 2020, (the era of artificial intelligence, blah blah … SV noise), one would think that one would not have to revert back to tweaking HTML to publish simple articles (next I’ll be punching Hollerith cards while my car is driving itself).

  • You don’t need to tweak any HTML at all, just choose the Custom HTML block, and paste in or type your LaTeX code as you always have/

  • The topic ‘Flaky WordPress editor’ is closed to new replies.