Thanks for the feedback, o2xav. Disable Gutenberg does not change/add any tags (p or otherwise). That all happens because of Gutenberg Block Editor, which this plugins aims to disable and replace with the Classic Editor. Currently the plugin does not claim to “remove unwanted p tags”, but I think it’s a good idea and may add something in a future update.
In the meantime, for the sake of anyone else reading, it’s recommended to disable Gutenberg before opening or adding any posts. That way, you stop WordPress/Gutenberg from adding a bunch of tags and other markup to the post content (as lamented in the above review).
You know what, it was unfair for me to put three stars, because it’s not the plugin’s fault, i just did not think it through, did not want to hurt anyone.
But you can try on your side, even with gutenberg disabled (with the help of your plugin or another):
-create a post,
-insert an image on the first line,
-create a new paragraph underneath
Now check the page’s source, the image is surrounded in P tags. Whether you have wpautop disabled or not. Same for double line breaks. And this happened when WP5.0 came out.
One of the reasons i’m starting to consider moving to ClassicPress
Thanks for the updated review and feedback, o2xav. I will take a closer look at this for the next plugin update. From your steps it sounds like there may some other factor involved, as DG does not in any way mess with auto-formatting/autop stuff. One way to check, do you know if the same behavior happens when DG plugin is disabled?
Definitely, if you find any further infos that could help improve DG, please let me know. Certainly it should be possible to disable auto formatting/autop when using the Classic Editor, have not heard anything about core changes in this regard. Either way thanks again, I appreciate your information o2xav.
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘Does the job, but does not remove unwanted p tags’ is closed to new replies.