Open Jimmi08 opened 2 years ago
This was needed for bootstrap5:
<ul >
<li class="d-inline">{COOKBOOK_BOOKMARK}</li>
<li class="d-inline">{COOKBOOK_EDIT}</li>
<li class="d-inline">{COOKBOOK_PRINT}</li>
</ul>
so li tags shouldn't be in those shortcodes
What was needed: Add parameter class for each button for a tag Add parameter icon - if it is possible, or add them as prefs - when you don't want to use FA icons Add parameter to use just icon not text
with bookmark - icon is inside a tag (correct), with edit and print it is before a tag
@Jimmi08 Could you test again with the latest version and see if the EDIT and PRINT shortcodes are fully customizable now?
I still need to do some work on the bookmarks button, but not sure yet how to approach it (because it changes depending on whether a recipe is bookmarked or not).
@Jimmi08 I have made some changes that should allow to template the bookmark functionality properly now. I'm still not really happy with the functionality but happy to hear your findings. For me, there's some weird refresh/moving behaviour going on, when clicking the add/remove link.
Motivation
Proposed Solution
Could you add parameter or move
<li></li>
to template? When you want to use edit button separately withou<ul></ul>
correct icon
Could you use core solution for glyphs? Your fa-pencil is not displayed in bootstrap 5 theme
Quick fix: fa-edit is working