Skip to content

Express Migration - Buttons, buttons, buttons #2073

Closed Answered by rgclayton
vhargrave asked this question in Q&A
Discussion options

You must be logged in to vote

At the same time I do think it would be ideal if there was a way for authors to define other button types in a block. The "easiest" way I can think of would be to add something like #_btn-other-details-of-the-button as a hash, which our code would recognize and treat appropriately. This type of approach is a bit annoying though, because authors can't see at a glance what type of button that they're dealing with, like if a link is bold or italic.

Instead of adding the decoration value to the link it could be added to the display text with a | to separate the display text from the styling. Similar concept to how we apply alt text to svgs.

The benefit of this would be that you see the | st…

Replies: 6 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

vhargrave
Mar 27, 2024
Collaborator Author

You must be logged in to vote
2 replies
@JasonHowellSlavin
Comment options

@vhargrave
Comment options

vhargrave Apr 10, 2024
Collaborator Author

Comment options

vhargrave
Apr 9, 2024
Collaborator Author

You must be logged in to vote
1 reply
@mokimo
Comment options

Comment options

You must be logged in to vote
5 replies
@vhargrave
Comment options

vhargrave Apr 10, 2024
Collaborator Author

@vhargrave
Comment options

vhargrave Apr 15, 2024
Collaborator Author

@yesil
Comment options

@vhargrave
Comment options

vhargrave Apr 15, 2024
Collaborator Author

@yesil
Comment options

Answer selected by vhargrave
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants