-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Remove Gutenberg styles from the head tag #261
Comments
True! However, Gutenberg adds even more stuff that we like to disable with a plugin like Disable Gutenberg. |
You are right about completely disabling Gutenberg by a plugin, but my suggestion only focuses on front-end codes. I think Flynt could deliver a cleaner head by removing unused Gutenberg front-end styles. |
Right, and I agree it makes sense. I just don't want to integrate something seemingly simple now, that could become a complex feature over time, with even more functionality to disable Gutenberg. Because that's something existing plugins provide already. I would propose to add it to the removeEditor.php file directly, as it's tied to each other. What do you think? Would you like to submit a pull request? |
* Removes Gutenberg default styles on front-end #261 * refactor(RemoveEditor): remove type hints Co-authored-by: Dominik Tränklein <dominik@bleech.de>
Considering that Flynt disables the Gutenberg by default, we can safely remove Gutenberg styles from the head tag:
I can make a PR to add this to the core.
The text was updated successfully, but these errors were encountered: