-
Task
-
Resolution: Unresolved
-
Could have
-
None
-
None
-
Gutenberg, Technical Debt
Currently, we are copying files from Wordpress repositories to override functionality on the Core WP blocks (e.g.: Button, Table). Thus, we are creating mini-forks of Wordpress components into our repo.
We are just copying the files we need, but these files actually import a lot of stuff from the Wordpress modules. As this can probably get outdated, maybe we can include the wordpress/block-library module and extend those files by importing them in our components instead of directly forking these files.
I tried doing so but I ran into some compiler issues, I suspect the Babel setup may be interfering, I added more technical details in this secret gist.
Tasks:
- Put some time aside to test for an alternative solution to core block overrides, by extending core blocks from the block-library instead of copying the files.
- If none is found or the solution is overkill maybe we can discard this ticket.
- relates to
-
PLANET-5058 Table block: implement color styles
- CLOSED