Skip to content

Commit b8c7cbd

Browse files
dabo-odooloco-odoo
authored andcommitted
[FIX] html_editor: Tiny revert on link popover classes handling
1 parent 1837cda commit b8c7cbd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

addons/html_editor/static/src/main/link/link_popover.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -313,9 +313,9 @@ export class LinkPopover extends Component {
313313

314314
get classes() {
315315
if (!this.state.type) {
316-
return this.props.linkElement.className;
316+
return "";
317317
}
318-
return `btn btn-fill-${this.state.type} ${this.props.linkElement.className}`.trim();
318+
return `btn btn-fill-${this.state.type}`;
319319
}
320320

321321
async uploadFile() {

0 commit comments

Comments
 (0)