Way to disable block auto-conversion?
-
On a site for a magazine, articles frequently have endnotes that start with “1. “, “2. “, etc., but they need to be paragraph blocks with a specific CSS class to style them. If I paste in a whole article with the endnotes at the end, WordPress leaves them as paragraph blocks, but if I copy just an endnote into an empty paragraph block, the editor automatically changes it to a list block. If I change it back to a paragraph block, the number disappears, and if I try to type in the “1. ” again, it changes to a list block again! I have to retype the number, period, and space in some weird order to get the editor to leave it alone.
For this site, I don’t want the auto-conversion behavior at all, as I’m copying from HTML with tags already the way I want the blocks to be. (InDesign has wonderful abilities to export to HTML with specified tags for each style in the document – it works great for getting from InDesign to WordPress.) Is there a way to stop the WordPress editor from changing things on a whim? Or at least ask my permission before doing it?
- The topic ‘Way to disable block auto-conversion?’ is closed to new replies.