diff --git a/app/views/admin/communication/blocks/edit.html.erb b/app/views/admin/communication/blocks/edit.html.erb index 89b621f17c7f9eda1a4d0478c9add7b94838a18f..ea57a1e441a8671e0d736fecd7e9064d68ff2385 100644 --- a/app/views/admin/communication/blocks/edit.html.erb +++ b/app/views/admin/communication/blocks/edit.html.erb @@ -92,18 +92,6 @@ } }); } - // handleSummernote() { - // var config = this.$refs.summernoteInput.getAttribute('data-summernote-config') || 'default'; - // $(this.$refs.summernoteInput).summernote({ - // toolbar: window.SUMMERNOTE_CONFIGS[config].toolbar, // Dependent of app/assets/javascripts/admin/plugins/summernote.js - // callbacks: { - // onChange: function(contents, $editable) { - // this.$refs.summernoteInput.value = contents; - // this.$refs.summernoteInput.dispatchEvent(new Event('input')); - // }.bind(this) - // } - // }); - // } }, mounted: function() { this.handleSummernotes();