Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Merge pull request #53 from ckeditor/t/52
Browse files Browse the repository at this point in the history
Other: Fixed import paths after [refactoring in ckeditor5-ui](ckeditor/ckeditor5-ui#156). Closes #52.
  • Loading branch information
Reinmar authored Mar 7, 2017
2 parents b4b5e7c + 4feb69b commit cc8f671
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/image/ui/imageballoonpanelview.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

import throttle from '@ckeditor/ckeditor5-utils/src/lib/lodash/throttle';
import global from '@ckeditor/ckeditor5-utils/src/dom/global';
import BalloonPanelView from '@ckeditor/ckeditor5-ui/src/balloonpanel/balloonpanelview';
import BalloonPanelView from '@ckeditor/ckeditor5-ui/src/panel/balloon/balloonpanelview';
import { isImageWidget } from '../utils';

const arrowVOffset = BalloonPanelView.arrowVerticalOffset;
Expand Down Expand Up @@ -42,11 +42,11 @@ const positions = {
};

/**
* Image balloon panel class. It extends {module:ui/balloonpanel/balloonpanelview~BalloonPanelView} by adding helpers
* Image balloon panel class. It extends {module:ui/panel/balloon/balloonpanelview~BalloonPanelView} by adding helpers
* to use with image widgets. It sets proper positioning on `scroll` and `resize` events and hides the panel when
* image is no longer selected or focus is lost.
*
* @extends module:ui/balloonpanel/balloonpanelview~BalloonPanelView
* @extends module:ui/panel/balloon/balloonpanelview~BalloonPanelView
*/
export default class ImageBalloonPanelView extends BalloonPanelView {
/**
Expand Down
2 changes: 1 addition & 1 deletion tests/image/ui/imageballoonpanelview.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classic';
import global from '@ckeditor/ckeditor5-utils/src/dom/global';
import ImageBalloonPanel from '../../../src/image/ui/imageballoonpanelview';
import BalloonPanelView from '@ckeditor/ckeditor5-ui/src/balloonpanel/balloonpanelview';
import BalloonPanelView from '@ckeditor/ckeditor5-ui/src/panel/balloon/balloonpanelview';
import ImageEngine from '../../../src/image/imageengine';
import { setData } from '@ckeditor/ckeditor5-engine/src/dev-utils/model';

Expand Down

0 comments on commit cc8f671

Please sign in to comment.