From 071abaa64137ae99230bd21e0f8750e1766f15de Mon Sep 17 00:00:00 2001 From: Serhey Dolgushev Date: Tue, 19 May 2020 08:55:05 -0400 Subject: [PATCH] CS fixes Co-authored-by: Dariusz Szut --- .../Resources/public/js/OnlineEditor/buttons/ez-btn-linkedit.js | 1 + 1 file changed, 1 insertion(+) 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 3117e82f..873c32fd 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 @@ -474,6 +474,7 @@ export default class EzBtnLinkEdit extends Component { editor.fire('actionPerformed', this); const pathElement = editor.elementPath().lastElement; + if (pathElement.getName() === 'br') { const parent = pathElement.getParent(); if (parent.getName() === 'td' || parent.getName() === 'th') {