diff --git a/app/assets/javascripts/form.js b/app/assets/javascripts/form.js index 941193e..6be0876 100644 --- a/app/assets/javascripts/form.js +++ b/app/assets/javascripts/form.js @@ -1,6 +1,8 @@ $(document).ready(function() { var config = {} config.autoGrow_minHeight = 50; + config.allowedContent = false; + config.disallowedContent = 'img'; config.toolbar = [ { name: 'clipboard', items: [ 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo' ] }, { name: 'editing', items: [ 'Find', 'Replace', '-', 'SelectAll', '-', 'Scayt' ] },