diff --git a/client/js/common/editor/froala.es6 b/client/js/common/editor/froala.es6 index 2d9e6020..0cc69683 100644 --- a/client/js/common/editor/froala.es6 +++ b/client/js/common/editor/froala.es6 @@ -24,6 +24,7 @@ var froala = function($el, options) { beautifyCode: true, plainPaste: true, blockTags: {p: 'Normal', h5: "Heading", small: 'Caption'}, + allowedAttrs: ["accept","accept-charset","accesskey","action","align","alt","async","autocomplete","autofocus","autoplay","autosave","background","bgcolor","border","charset","cellpadding","cellspacing","checked","cite","class","color","cols","colspan","content","contenteditable","contextmenu","controls","coords","data","data-.*","datetime","default","defer","dir","dirname","disabled","download","draggable","dropzone","enctype","for","form","formaction","headers","height","hidden","high","href","hreflang","http-equiv","icon","id","ismap","itemprop","keytype","kind","label","lang","language","list","loop","low","max","maxlength","media","method","min","multiple", "muted", "name","novalidate","open","optimum","pattern","ping","placeholder","poster","preload","pubdate","radiogroup","readonly","rel","required","reversed","rows","rowspan","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","span","src","srcdoc","srclang","srcset","start","step","summary","spellcheck","style","tabindex","target","title","type","translate","usemap","value","valign","width","wrap"], imageUploadURL: '/image_attachments.json', imageUploadParams: { authenticity_token: $("meta[name='csrf-token']").attr('content')