Skip to content
Discussion options

You must be logged in to vote

this would add the js to the canvas. I dont think it will get added to the final html export, you might have to add by code.

editor.Canvas.getDocument().body.insertAdjacentHTML( 'afterend', "<script src='myscripts.js'></script>" );

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ronaldohoch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants