You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using grapejs to load my html template and editing that template.In my template I use jQuery plugin.And also we use jQuery for building up editor using grapejs. In that case there is happen conflict
between those jQuery loading on time.
i had error like this
how to void that kind of issue,
can we use jquary for template ?
if it is , how can i achieve ?
The text was updated successfully, but these errors were encountered:
piyalmaduranga
changed the title
cat not use jquary Library to template
cat not use jQuary plugin to template
Mar 9, 2017
<!-- Here you load all the stuff for GrapesJS --><scriptsrc="path/to/jquery.js"></script><scriptsrc="path/to/grapes.min.js"></script><divid="gjs"><divclass="txt-red">Hello world!</div><style>.txt-red{color: red}</style><!-- Before the editor's work this script will be loaded by the main document and will overwrite the one you've loaded before (so you'll break deps for GrapesJS) --><scriptsrc="path/to/some-other-jquery.min.js"></script></div><scripttype="text/javascript">vareditor=grapesjs.init({...});</script>
Honestly I've not played too much with scripts inside templates but I'm working on it in this days.
I am using grapejs to load my html template and editing that template.In my template I use jQuery plugin.And also we use jQuery for building up editor using grapejs. In that case there is happen conflict

between those jQuery loading on time.
i had error like this
how to void that kind of issue,
can we use jquary for template ?
if it is , how can i achieve ?
The text was updated successfully, but these errors were encountered: