Skip to content

Commit

Permalink
Allow all html tags (script and script tags)
Browse files Browse the repository at this point in the history
  • Loading branch information
skyporter committed May 21, 2024
1 parent 12e38e5 commit e597c4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/assets/javascripts/catalog-admin/summernote.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ init = ->
$("[data-provider='summernote']").summernote
height: 300
maximumImageFileSize: 262144 # 256KB
codeviewFilter: false # allow all html tags (script and script tags)
callbacks: onBlurCodeview: -> $(this).val $(this).summernote('code') # Fix content not saved from codeview issue
toolbar: [
['style', ['style']],
Expand Down

0 comments on commit e597c4e

Please sign in to comment.