Skip to content

Commit

Permalink
Remove needless calls to setPanelContentMaxHeight
Browse files Browse the repository at this point in the history
  • Loading branch information
tischsoic committed Sep 30, 2024
1 parent 824e0e3 commit 64c0537
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,6 @@ class IbexaCustomTagUI extends Plugin {
this.showForm();
});

setPanelContentMaxHeight(this.balloon.view);

return attributesView;
}

Expand Down Expand Up @@ -161,7 +159,6 @@ class IbexaCustomTagUI extends Plugin {
position: { target },
});

setPanelContentMaxHeight(this.balloon.view);
this.balloon.updatePosition({ target });
}

Expand Down Expand Up @@ -195,7 +192,6 @@ class IbexaCustomTagUI extends Plugin {
position: this.getBalloonPositionData(),
});

setPanelContentMaxHeight(this.balloon.view);
this.balloon.updatePosition(this.getBalloonPositionData());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
import clickOutsideHandler from '@ckeditor/ckeditor5-ui/src/bindings/clickoutsidehandler';
import ClickObserver from '@ckeditor/ckeditor5-engine/src/view/observer/clickobserver';

import { setPanelContentMaxHeight } from '../helpers/panel-helper';
import IbexaCustomTagFormView from '../ui/custom-tag-form-view';
import IbexaButtonView from '../../common/button-view/button-view';

Expand Down Expand Up @@ -91,7 +90,6 @@ class IbexaInlineCustomTagUI extends Plugin {
position: this.getBalloonPositionData(),
});

setPanelContentMaxHeight(this.balloon.view);
this.balloon.updatePosition(this.getBalloonPositionData());
}

Expand Down

0 comments on commit 64c0537

Please sign in to comment.