-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Group Block - custom markup filtering option #15000
Comments
Isn't there a generic block markup filtering chain in place already @paulkirspuu have you researched? |
I have, didn't find a filtering option unfortunately. |
@paulkirspuu ping Slack #core-editor perhaps, as well. |
About the wrapper between the group block and the content: issue #15042 goes deeper into that |
The section block of the Ultimate Addons for Gutenberg plugin offers the possibility to switch the html-tag: |
In the meantime, the I don't think giving everyday users an option to change the HTML tag makes sense. They would not know what to do with that. |
Tyvm. @paulkirspuu lmk what you can do w/ this filter. |
But this means when a theme is switched, all pages have to be opened in page editor and re-saved so the |
@paulkirspuu |
We ended up using stock Group block markup in editor and we filter its output at PHP level via Other options mentioned above also help people for alternatives. This issue is solved. |
Suggestion for improvement regarding the Group block:
<div>
-><section>
, add awrap
element between Group block and content, and etc.)Your thoughts, please.
The text was updated successfully, but these errors were encountered: