angular-summernote
angular-summernote copied to clipboard
How to set codeview as default view
Hi,
How can I set codeview as default view ? Does it have to do something with config/options?
This worked for me:
$(editor).on('summernote.init', function() {
// toggle editor to codeview
$(editor).summernote('codeview.toggle');
});
...in my case a good solution. Hope this helps anybody too.
@YaWK Really helpful. Thank you!