Skip to content

Instantly share code, notes, and snippets.

@LizAinslie
Created January 23, 2019 17:43
Show Gist options
  • Save LizAinslie/205488af87983bd3865ef4f71897b7af to your computer and use it in GitHub Desktop.
Save LizAinslie/205488af87983bd3865ef4f71897b7af to your computer and use it in GitHub Desktop.
A kitchen sink example of Canvo options
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);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment