- Issue created by @cristinahart
- πΊπΈUnited States wendell
We are facing the same issue. The buttons are still there, but are CSS clipped to 1px x 1px x 1px x 1px apparently by the gin gutenberg helper module.
We worked around it in our custom theme by overriding the CSS that clips the edit action buttons buttons. The css selector was:
``` .gin-sticky-form-actions--preprocessed ~ .layout-container form.gin--has-sticky-form-actions .gin-sticky-form-actions ```
We are working on a better patch, but we're not sure if the patch should go in the quick node clone module or the gin+gutenberg helper module. The fix in the context of quick node clone is probably to add, or remove, something in the action form definition before its rendered so that it gets left alone by whatever process rewrites the form actions to apply the css properties we don't want in this case.
- π³π΄Norway vegardjo
Thanks for the pointer wendell, I added this to my admin styles to override:
.gin-sticky-form-actions--preprocessed ~ .layout-container form.gin--has-sticky-form-actions .gin-sticky-form-actions { clip: initial; overflow: initial; height: auto; width: auto; position: relative !important; }
I think it could maybe best be handled in Gin_gutenberg, as it is related to whatever has a "sticky action button", which is a beta setting in Gin. So could be other modules than quick_node_clone as well. I'll try to move it there.
Per now I see no other effects than the button being displayed as expected.
- π³π΄Norway vegardjo
If you agree that this is the right way to solve it, I can likely find some time for it this week :)
- First commit to issue fork.
- Merge request !10Issue #3482697: Fix save and preview buttons in Gutenberg β (Merged) created by Unnamed author
- π³π΄Norway vegardjo
I was also at this yesterday :)
I added more specificity to the selector, this is needed as it overrides a theme file (more_actions.css) that comes after this module file in the source. Also, the
.gutenberg--enabled
body class is not present when cloning a node, so we can't use that.Not sure why the merge conflict with the CSS file..
- π³π΄Norway vegardjo
vegardjo β changed the visibility of the branch 3482697-updated-clone to hidden.
- π΅πΉPortugal neliofga
neliofga β changed the visibility of the branch 3482697-updated-clone to active.
- π΅πΉPortugal neliofga
neliofga β changed the visibility of the branch 3482697-updated-clone to hidden.
-
doxigo β
committed 13fbaf12 on 1.1.x authored by
neliofga β
Issue #3482697: Quick Node Clone fail
-
doxigo β
committed 13fbaf12 on 1.1.x authored by
neliofga β