@@ -5,7 +5,7 @@
/* global document, setTimeout */
-import { getOptimalPosition } from '@ckeditor/ckeditor5-utils/src/dom/position';
+import { getOptimalPosition } from '../../../src/dom/position';
const boxes = document.querySelectorAll( '.test-box' );
const sources = document.querySelectorAll( '.source' );
/* global document */
-import { scrollViewportToShowTarget } from '@ckeditor/ckeditor5-utils/src/dom/scroll';
+import { scrollViewportToShowTarget } from '../../../src/dom/scroll';
document.getElementById( 'scrollToBlue' ).addEventListener( 'click', () => {
const target = document.querySelector( '#target-blue .target' );
+import { getOptimalPosition } from '../../../../src/dom/position';
const source = document.querySelector( '.source' );
const target = document.querySelector( '.target' );