dbliss20 Posted May 20, 2021 Posted May 20, 2021 I like to use WSIWYG from Squarespace to format my text and for each text, i like to add a hyperlink like this: See video with this as URL -> href="javascript:videoPlay(5)" I prefer not to use a code block so that I can use SS's WSIWYG features. I have declared videoPlay in the code injection section. I have the business plan. Is this possible?
creedon Posted May 20, 2021 Posted May 20, 2021 Add your href value into a link in the text block. It's the chain link icon on the toolbar. Let us know how it goes. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.
dbliss20 Posted May 21, 2021 Author Posted May 21, 2021 On 5/19/2021 at 6:38 PM, creedon said: Add your href value into a link in the text block. It's the chain link icon on the toolbar. Let us know how it goes. It works great to create the link. However when I go back to edit it, the JavaScript href is gone. Is there an easier way to edit it? It seems I have to remove the link and recreate it to perform an edit.
creedon Posted May 21, 2021 Posted May 21, 2021 I wasn't aware of this flaw. I would say that is a bug. You don't have to first remove the link to edit. Just type in the new (err old) link and then apply. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.