Picture of Paul Steven
Re: Best way to add a custom button?
by Paul Steven - Tuesday, 30 March 2021, 8:47 AM
 

Hi Jason

I didn't expect my code to remain in the editor when I closed the reopened it but surprisingly it was still there.

However another approach you could use is to set a custom class on the component e.g customLink

You then just add a hyperlink using the WYSIWYG editor (no need to view source)

Then in the custom CSS section add something like this:

.customLink a {
background-color: yellow;
}

 

Note this would make all links in that particular text component have a yellow background.