Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions src/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,24 @@ export default class TableBlock {
return true;
}

/**
* Do not sanitize <br> while inline toolbar enabled
*
* @returns {object}
* @public
*/
static get sanitize() {
return {
br: true,
u: true,
b: true,
i: true,
del: true,
p: true,
a: true
}
}

/**
* Render plugin`s main Element and fill it with saved data
*
Expand Down