Created
July 21, 2019 13:23
-
-
Save mrhm-dev/b1c4e65af1dc8ca8833acbfbffad2cf7 to your computer and use it in GitHub Desktop.
TinyMCE minimal setup
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
tinymce.init({ | |
selector: '#body', | |
height: 500, | |
menubar: 'file edit format help', | |
plugins: 'advlist lists link autolink autosave code preview searchreplace wordcount media table emoticons image imagetools', | |
toolbar: 'bold italic underline | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image media | forecolor backcolor emoticons | code preview searchreplace', | |
images_upload_url: '/', | |
images_upload_handler: function (blobinfo, success, failure) { | |
}, | |
relative_urls: false, | |
automatic_uploads: true | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment