From 88ad293cc3421b5fcaadc2a603ede596354db176 Mon Sep 17 00:00:00 2001 From: Maciej Bukowski Date: Tue, 7 Aug 2018 16:48:26 +0200 Subject: [PATCH] Replaced `lib/lodash` imports with `lodash-es`. --- package.json | 3 ++- src/classiceditor.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c26da34..a5f2023 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,8 @@ "@ckeditor/ckeditor5-engine": "^10.2.0", "@ckeditor/ckeditor5-theme-lark": "^11.0.0", "@ckeditor/ckeditor5-ui": "^11.0.0", - "@ckeditor/ckeditor5-utils": "^10.2.0" + "@ckeditor/ckeditor5-utils": "^10.2.0", + "lodash-es": "^4.17.10" }, "devDependencies": { "@ckeditor/ckeditor5-basic-styles": "^10.0.2", diff --git a/src/classiceditor.js b/src/classiceditor.js index 8b86350..8b86317 100644 --- a/src/classiceditor.js +++ b/src/classiceditor.js @@ -17,7 +17,7 @@ import ClassicEditorUIView from './classiceditoruiview'; import ElementReplacer from '@ckeditor/ckeditor5-utils/src/elementreplacer'; import getDataFromElement from '@ckeditor/ckeditor5-utils/src/dom/getdatafromelement'; import mix from '@ckeditor/ckeditor5-utils/src/mix'; -import isElement from '@ckeditor/ckeditor5-utils/src/lib/lodash/isElement'; +import { isElement } from 'lodash-es'; /** * The {@glink builds/guides/overview#classic-editor classic editor} implementation.