diff --git a/src/bundle/Resources/public/js/OnlineEditor/buttons/ez-btn-linkedit.js b/src/bundle/Resources/public/js/OnlineEditor/buttons/ez-btn-linkedit.js index 50cfbd09..3117e82f 100644 --- a/src/bundle/Resources/public/js/OnlineEditor/buttons/ez-btn-linkedit.js +++ b/src/bundle/Resources/public/js/OnlineEditor/buttons/ez-btn-linkedit.js @@ -472,6 +472,14 @@ export default class EzBtnLinkEdit extends Component { this.invokeWithFixedScrollbar(() => { editor.fire('actionPerformed', this); + + const pathElement = editor.elementPath().lastElement; + if (pathElement.getName() === 'br') { + const parent = pathElement.getParent(); + if (parent.getName() === 'td' || parent.getName() === 'th') { + editor.eZ.moveCaretToElement(editor, parent); + } + } }); }