
This my favorite GitHub issue of all time. Thank you so much. The double ring logo makes me so sad. I can't wait to create all sorts of silly illustrations to replace that button with.
+1 to this. It would be good to have the option to change it to anything, or at least have the possibility to change it back to a left/back arrow.
I agree on this one. I opened #21795 with a similar suggestion. More specifically, I think we should allow to:
Also in regard to #21121, it's important that in case of modification of the "back" behaviour, the sidebar behaviour can be overridden.
The reason is that this would address some use cases that would allow Gutenberg to be way more integrated in various flows.
Use cases:
In short, it should allow flows like:
Custom UI → Gutenberg → back to Custom UI
Bypassing WP Admin entirely, in order to avoid the user getting lost. Which would allow for example to build advanced "Themes" with specific functionality, relying on Gutenberg for editing, and back. Imagine specific, narrow, app-like services.
In short, it would make Gutenberg to be already more easily integrated.
Finished the first part of this issue with #22323.
Heya @vindl does that mean it's possible now to add a hook to override the destination of the W like I mentioned above, or not yet?
I'm asking as I saw some work going on #22191 and I was wondering if it was already fixed, or if I should raise it again there.
Heya @vindl does that mean it's possible now to add a hook to override the destination of the W like I mentioned above, or not yet?
Hi @folletto - This allows replacing the whole default component and the custom component can provide a different destination.
If we are looking into modifying just the destination while preserving everything else, that might require the rest of the functionality to be essentially copied over. I think that this can be improved in a similar fashion as I did for icon replacement case.
Ok so it's doable even if it requires right now to rewrite the component.
And yes, would be a nice improvement if there was a way to just switch the "back" action, without changing everything else :)
And yes, would be a nice improvement if there was a way to just switch the "back" action, without changing everything else :)
I can look into that after #22191 gets merged in order to avoid introducing even more merge conflicts for them. :)
Thanks! :D
The second item has been resolved with merging of #22952.
Most helpful comment
This my favorite GitHub issue of all time. Thank you so much. The double ring logo makes me so sad. I can't wait to create all sorts of silly illustrations to replace that button with.