-
Notifications
You must be signed in to change notification settings - Fork 15
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
browser version of the link module #12
Comments
No feedback yet - I hope the module is still maintained? I think it should not be a hughe effort to get a browser version of the module. If anyone could help here, it would be great! :) |
A script similar to this would do. |
I am developingg on windows and do not have a linux/ bash. :-( So I did "browserify index.js linkmodulebundle.js" where index.js is the index.js in the linkman root. No success so far :( |
|
Sorry for the delay in reponse. I got your bundle - its 470KB? Its more than double size of docx templater itself. How would I use it? The example I found looks like this:
If I translate it to browser js, it would be (imho) :
But it says LinkModule is undefined. :-/ |
You can use this file, this works with docxtemplater v2.1.5 or below. |
Thank you! At least I get it to launch with this file! I have overlooked my code several times and also adjusted the word template - it won't work with the {^mylink} but it works with {mylink} if I do not use the link functionallity. Should I post my code? |
the above code works with example-href.docx. Use docxtemplater v2.1.1 ~ v2.1.5. |
I tried with your example and it worked. I also tried adding a loop (as I do in my project) and it worked also. But if I copy a part of my word and paste the {^link} tag there, where I want it... it fails.
Attached the modified example:
|
Have you had a possibility to check the example? |
Hi there, I am using docxtemplater in browser and would like to create links in my documents as well. I found the link module but it seems there is no browser version of it?
I am not into node.js but tried to use browserify - but it still wont work.
Any help/ feedback appreciated.
The text was updated successfully, but these errors were encountered: