Parcourir la source

Merge pull request #84 from ckeditor/t/83

Other: Fixed import paths after [refactoring in ckeditor5-ui](https://github.com/ckeditor/ckeditor5-ui/pull/156). Closes #83.
Piotrek Koszuliński il y a 8 ans
Parent
commit
1756e5c3e4

+ 3 - 3
packages/ckeditor5-link/src/link.js

@@ -15,7 +15,7 @@ import LinkElement from './linkelement';
 import clickOutsideHandler from '@ckeditor/ckeditor5-ui/src/bindings/clickoutsidehandler';
 
 import ButtonView from '@ckeditor/ckeditor5-ui/src/button/buttonview';
-import BalloonPanelView from '@ckeditor/ckeditor5-ui/src/balloonpanel/balloonpanelview';
+import BalloonPanelView from '@ckeditor/ckeditor5-ui/src/panel/balloon/balloonpanelview';
 
 import LinkFormView from './ui/linkformview';
 
@@ -127,10 +127,10 @@ export default class Link extends Plugin {
 	}
 
 	/**
-	 * Creates the {@link module:ui/balloonpanel/balloonpanelview~BalloonPanelView} instance.
+	 * Creates the {@link module:ui/panel/balloon/balloonpanelview~BalloonPanelView} instance.
 	 *
 	 * @private
-	 * @returns {module:ui/balloonpanel/balloonpanelview~BalloonPanelView} Link balloon panel instance.
+	 * @returns {module:ui/panel/balloon/balloonpanelview~BalloonPanelView} Link balloon panel instance.
 	 */
 	_createBalloonPanel() {
 		const editor = this.editor;

+ 2 - 2
packages/ckeditor5-link/src/ui/linkformview.js

@@ -45,10 +45,10 @@ export default class LinkFormView extends View {
 		this.focusTracker = new FocusTracker();
 
 		/**
-		 * Instance of the {@link module:core/keystrokehandler~KeystrokeHandler}.
+		 * Instance of the {@link module:utils/keystrokehandler~KeystrokeHandler}.
 		 *
 		 * @readonly
-		 * @member {module:core/keystrokehandler~KeystrokeHandler}
+		 * @member {module:utils/keystrokehandler~KeystrokeHandler}
 		 */
 		this.keystrokes = new KeystrokeHandler();
 

+ 1 - 1
packages/ckeditor5-link/tests/link.js

@@ -13,7 +13,7 @@ import { setData as setModelData } from '@ckeditor/ckeditor5-engine/src/dev-util
 import Link from '../src/link';
 import LinkEngine from '../src/linkengine';
 import ButtonView from '@ckeditor/ckeditor5-ui/src/button/buttonview';
-import BalloonPanelView from '@ckeditor/ckeditor5-ui/src/balloonpanel/balloonpanelview';
+import BalloonPanelView from '@ckeditor/ckeditor5-ui/src/panel/balloon/balloonpanelview';
 
 import Range from '@ckeditor/ckeditor5-engine/src/view/range';
 import ClickObserver from '@ckeditor/ckeditor5-engine/src/view/observer/clickobserver';