Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

share link fields #321

Open
wilsondanquah opened this issue Mar 17, 2018 · 2 comments
Open

share link fields #321

wilsondanquah opened this issue Mar 17, 2018 · 2 comments

Comments

@wilsondanquah
Copy link

i want to insert facebook and twitter links on the page so that when i chose to share, it shares to those page. how will i do that?

@alexandermendes
Copy link
Member

Hi, it probably partly depends on how your application is set up, perhaps you could copy in some code from the page where you're using the viewer and it might become clearer.

One option would be to add a custom button via toolbar-buttons and use this to display a modal when clicked. The demo App.vue page contains an example of that. In that modal you could add whatever code you like, for example, social media links to the page where you're using the viewer.

If you want to link to a specific task that might get a little more complicated but should be possible. Some example of how you're using the viewer would be useful though and we can figure it out from there.

@alexandermendes
Copy link
Member

Oh and the custom buttons/modals are available in version 5 (released today), so you might need to upgrade if you want to try that. But check for any changes that might affect your application first!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants