Use command on node in order to set href attribute #781
Unanswered
MichalKrakow
asked this question in
Questions & Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, thanks for the questions section on GH.
I need to create button-like link for email template. I'm stuck with the functionality to expose 'buttons' href param value to the editor menu. I'm trying to use command in order to alter the href param but simply i cannot find how to do it.
Node is simple as that:
and id editor itself its just:
@submit.prevent="commands.button({href: linkUrl})"
so this is the relevant part:
My goal is to expose this in global menu so i dont want to use node's get view()
Any help greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions