How to work with loading library via CDN? #1000
Unanswered
codebeaulieu
asked this question in
Questions & Help
Replies: 1 comment 2 replies
-
Oh, yes! That doesn’t work well with v1. Good news though, it’s working perfectly fine with the upcoming v2: https://blog.ueber.io/post/tiptap-2-0-beta/ And congratulations on opening issue #1000 😅 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm adding a WYSIWYG editor to an existing application, we've been using CDN and bundling for our entire application thus far and every library we've used has worked fine, but I cannot figure out how to use this library using CDN.
In our scripts area (along with our other working scripts), I add the reference to the js
<script src="https://unpkg.com/tiptap@1.32.1/dist/tiptap.min.js" type="text/javascript"></script>Then I attempt to follow the basic-setup but the
new Editor
reference is undefined. When that didn't work I tried "using" the Editor by addingVue.use(Editor);
but that causes a failure as well.Is it possible to use this library using the CDN? If so, what am I missing?
Beta Was this translation helpful? Give feedback.
All reactions