Archived topic
Feature request: Disable auto-p for certain sections?
2 replies · Started by NrH on May 19, 2021
Is there somewhere we can submit feature requests?
We have a feature we'd love to see in GP which would improve our productivity a lot. We have big issues with this every now and then.
When you use the sections to construct a HTML DOM with lots of elements the auto-P that Wordpress adds to your content can break the GUI you're trying to build. To work around this we've just disabled auto-p for certain pages but the issue now is the content we write needs to have the <p>-tags specified in it.
No problem, just write content with <p>-tags in it? Well, when you switch between the Visual and the Text-editor, the <p>'s are automatically removed.
So far we've just tried to remember to re-add them every time we've accidentally removed them and one of our pages looks weird but as our site grows this becomes increasingly hard to keep track of.
Just now we noticed that one of our pages lacked the paragraphs for months befor we finally noticed it.
If there was a way to disable auto-p for certain sections then we'd no longer have this issue.
As of right now we don't know how to make this work ourselves. Is this something that could be implemented into GPPremium?
It'd spare us so many problems now and in the future. And relieve us from an issue we've had since 2018 😅
Would've been awesome. I'm sorry if this wasn't posted in the right place; didn't know where to post it.
Thank you in advance!/Johan
Or better yet, perhaps be able to toggle some sections to be "raw-HTML" to prevent Wordpress from prettifying the content when switching between Visual and the Text editor on top of adding the auto-p's? As that's another issue when trying to build GUI in the section's content.
Wordpress adds the paragraphs and prettifies everything (which breaks the GUI) when switching between the Visual and the Text editor
Thank you! 🙂/Johan
Hi there,
Are you referring to the Sections module here?
If so that module has been deprecated in GPP 2.0 in favor of the block editor and GenerateBlocks so it won't be getting any updates.
Let me know :)