Skip to content

Instantly share code, notes, and snippets.

@sysint64
Created April 11, 2016 11:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sysint64/d32ee6e9ed17e126c0527f9e3569a002 to your computer and use it in GitHub Desktop.
Save sysint64/d32ee6e9ed17e126c0527f9e3569a002 to your computer and use it in GitHub Desktop.
tinymce.init({
selector: '.tinymce-widget',
//plugins : 'advlist autolink link image lists charmap print preview'
plugins: [
'advlist autolink link image lists charmap print preview hr anchor pagebreak spellchecker',
'searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media imagetools nonbreaking',
'save table contextmenu directionality emoticons template paste textcolor',
],
height: 400,
file_picker_types: 'file image media',
automatic_uploads: true,
images_upload_handler: function (blobInfo, success, failure) {
console.log(blobInfo);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment