diff --git a/app/views/editor/questionRich.html.erb b/app/views/editor/questionRich.html.erb index 2396a4785a..cbe5b924f3 100644 --- a/app/views/editor/questionRich.html.erb +++ b/app/views/editor/questionRich.html.erb @@ -154,6 +154,7 @@ nid: <%= @node.id %><% end %> }, richTextModule: { + token: $('meta[name="csrf-token"]').attr('content'), authorsAutocomplete: false, tagsAutocomplete: false, formats: ['csv', 'xls', 'zip', 'kml', 'kmz', 'gpx', 'lut', 'stl', 'dxf', 'txt', 'pdf', 'svg', 'doc', 'ppt', 'docx', 'bmp', 'obj', 'json', 'jpg', 'jpeg', 'png', 'gif']