From 84ca0df1d97e5dbdd9d11311dbf00431b12f9707 Mon Sep 17 00:00:00 2001 From: Serhey Dolgushev Date: Tue, 29 Sep 2020 15:46:22 -0400 Subject: [PATCH] Revert "Fix related to https://github.com/ezsystems/ezplatform-richtext/pull/149" This reverts commit cff502a119e4cfc3efed12b9592a36ab1d394243. --- .../public/js/OnlineEditor/buttons/ez-btn-linkedit.js | 5 ----- 1 file changed, 5 deletions(-) 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 12d39a9e..1f90ef68 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 @@ -133,14 +133,9 @@ export default class EzBtnLinkEdit extends Component { */ showUI() { const nativeEditor = this.props.editor.get('nativeEditor'); - const element = nativeEditor.elementPath().lastElement; nativeEditor.fire('editorInteraction', { editor: this.props.editor, - nativeEvent: { - editor: this.props.editor, - target: element.$, - }, selectionData: { element: this.state.element, region: this.getRegion(),