Carousel controls not working in canvas but works when previewed in an other page #4287
Unanswered
patraprerna31
asked this question in
Q&A
Replies: 1 comment
-
maybe..: const editor = grapesjs.init({
...
allowScripts: 1,
...
}) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
PREV, NEXT of carousel not working on CANVAS.
I have included these:
canvas: {
styles: [
'https://surf.service-now.com/styles/scss/sp-bootstrap.scss?portal_id=90a641dddb7a07803d7958a8dc9619e5&v=020f3fd8dbbdf01023b92b69139619a9',
'https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600',
'https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css'
],
scripts: [
'https://code.jquery.com/jquery-3.2.1.slim.min.js',
'https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js',
'https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js'
]
},
The same code of carousel works when used on another page having the required style and script links

.
Beta Was this translation helpful? Give feedback.
All reactions