From b17c11d4b106b6708ee6d894dfdf20c79b90df2e Mon Sep 17 00:00:00 2001 From: alexisben <alexiben7@gmail.com> Date: Tue, 19 Apr 2022 15:38:22 +0200 Subject: [PATCH] Remove commented code --- app/views/admin/communication/blocks/edit.html.erb | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/app/views/admin/communication/blocks/edit.html.erb b/app/views/admin/communication/blocks/edit.html.erb index 89b621f17..ea57a1e44 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(); -- GitLab