Skip to content

Commit

Permalink
fix: position the dialog of the element-id-attribute based on its own…
Browse files Browse the repository at this point in the history
… parent #133
  • Loading branch information
mostafaznv committed Aug 30, 2024
1 parent 9078a37 commit dfff1fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class ElementAddAttributesUI extends Plugin {

if (!this._isInBalloon) {
const defaultPositions = BalloonPanelView.defaultPositions;
const target = document.querySelector('.element-add-attributes-btn');
const target = editor.ui.view.element.querySelector('.element-add-attributes-btn');

this._balloon.add({
view: this._form,
Expand Down

0 comments on commit dfff1fa

Please sign in to comment.