[FIX] web_editor: link with / not recognized
Before this commit: When user try to create link with / it is not recognized as a link. After this commit: Now when user try to create link with / it is recognized as a link. Task-3347775 closes odoo/odoo#127842 X-original-commit: e99ccfa1ed7aa338f99c4142d109b2860cc9be4a Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
This commit is contained in:
@@ -3692,7 +3692,7 @@ export class OdooEditor extends EventTarget {
|
||||
ev.preventDefault();
|
||||
this._handleAutomaticLinkInsertion();
|
||||
this._applyCommand('oShiftEnter');
|
||||
} else if (ev.key === ' ' && !this.powerbox.isOpen) {
|
||||
} else if (ev.key === ' ') {
|
||||
this._handleAutomaticLinkInsertion();
|
||||
} else if (IS_KEYBOARD_EVENT_UNDO(ev)) {
|
||||
// Ctrl-Z
|
||||
|
||||
Reference in New Issue
Block a user