This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const options = { | |
canvas: document.getElementById('editor'), // Or just 'editor' | |
controls: document.getElementById('toolbar'), // Or just 'toolbar' | |
controlsOptions: { | |
framework: 'semantic_ui', // Other options are 'bootstrap_3' or 'bootstrap_4' | |
}, | |
}; | |
const editor = new Editor(options); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const options = { | |
canvas: 'editor', | |
}; | |
const editor = new Editor(options); |
NewerOlder