Skip to content

Commit

Permalink
fix: strict sanitize
Browse files Browse the repository at this point in the history
  • Loading branch information
hata6502 committed Sep 14, 2020
1 parent 1157a7b commit 4ace91a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/EditorJSStyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ class EditorJSStyle implements InlineTool {

static get sanitize() {
return {
'editorjs-style': true,
'editorjs-style': {
class: true,
id: true,
style: true,
},
};
}

Expand Down

0 comments on commit 4ace91a

Please sign in to comment.