[FIX] web_editor: fix post-JW revert button edition

Failed to remove a line at conflict resolution during JW revert at [1].

[1]: https://github.com/odoo/odoo/commit/e5572c317a7775a58675ed73efc89b5c9f6c0c39

task-2424849

closes odoo/odoo#63908

X-original-commit: 15fd0b765d38199961d4210f362770216af23a42
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
qsm-odoo
2020-12-30 11:09:20 +00:00
parent 0cb2c0ebbf
commit 923ae6415c
@@ -144,8 +144,6 @@ var LinkDialog = Dialog.extend({
this.data.text = this.data.text.replace(/[ \t\r\n]+/g, ' ');
this.__editorEditable = this.props.__editorEditable;
var allBtnClassSuffixes = /(^|\s+)btn(-[a-z0-9_-]*)?/gi;
var allBtnShapes = /\s*(rounded-circle|flat)\s*/gi;
this.data.className = this.data.iniClassName