nathan888
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Gutenberg Custom Block Editor Problem in 5.6.x and upSolved with: https://github.com/getdave/standalone-block-editor
I didn’t start with this tutorial and made the poor decision that the original dev did follow this exactly. The component tree is slightly different and when I mimicked it my issues were resolved hard to pin point which component fixed it.
It wasn’t one component but a series that was required. So for anyone building a custom block editor clone that repo and just slot everything inside. Also if you find the InterfaceSkeleton component to restrictive for styling it isn’t required for the fix.
Now if they could actually document Gutenberg we’d be set
Forum: Fixing WordPress
In reply to: insertBlock() function in 5.6.xPossible solution, it fixed my environment. I’d try using this github as a starter. It has a different component tree and it solved my problems. Just try slotting your code into it
Forum: Fixing WordPress
In reply to: Gutenberg Custom Block Editor Problem in 5.6.x and upSo I ran through this list, created a new environment as well no luck. I did find this warning when I click on a block for the first time. Any suggestions?
block-editor.min.js?ver=7bc2f41a2f2e0da426f12f29b2139cae:12 [Violation] Added non-passive event listener to a scroll-blocking ‘touchstart’ event. Consider marking event handler as ‘passive’ to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
Forum: Fixing WordPress
In reply to: insertBlock() function in 5.6.xSo I ran through this list, created a new environment as well no luck. I did find this warning when I click on a block for the first time. Any suggestions?
block-editor.min.js?ver=7bc2f41a2f2e0da426f12f29b2139cae:12 [Violation] Added non-passive event listener to a scroll-blocking ‘touchstart’ event. Consider marking event handler as ‘passive’ to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
Forum: Fixing WordPress
In reply to: insertBlock() function in 5.6.xHey there I don’t have an answer but did you solve this. I’m noticing a lot of breaking chances in 5.6 for gutenberg.
I’ve built a custom block generator and the block tool bar, for re-arranging blocks apply bold styles etc. Is no longer clickable. Reverting 5.5.3 fixes all of these issues. I’m going to create a separate ticket referencing this one as well