Skip to content

Commit

Permalink
move csrf token into formdata for PublicLab.Editor richTextModule
Browse files Browse the repository at this point in the history
ref #9438
  • Loading branch information
jywarren committed Apr 13, 2021
1 parent 6168103 commit 4b67c2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/views/editor/rich.html.erb
Expand Up @@ -393,6 +393,7 @@
token: $('meta[name="csrf-token"]').attr('content')
},
richTextModule: {
token: $('meta[name="csrf-token"]').attr('content'),
authorsAutocomplete: false,
tagsAutocomplete: false,
formats: ['jpg', 'jpeg', 'png', 'gif'],
Expand Down

0 comments on commit 4b67c2d

Please sign in to comment.