From 7d83aeced7db3f4ce8fd5aa8cac3aaff21bc81fa Mon Sep 17 00:00:00 2001 From: vlads Date: Wed, 20 Jun 2018 19:14:09 +0300 Subject: [PATCH] Make the "range" object available for external modules. --- package.json | 1 + src/js/bs3/settings.js | 2 ++ src/js/bs4/settings.js | 2 ++ 3 files changed, 5 insertions(+) diff --git a/package.json b/package.json index f819ab43a..45647330d 100644 --- a/package.json +++ b/package.json @@ -44,6 +44,7 @@ "eslint-plugin-node": "^5.2.1", "eslint-plugin-promise": "^3.6.0", "eslint-plugin-standard": "^3.0.1", + "fontforge": "^0.0.4", "grunt": "^1.0.1", "grunt-cli": "^1.2.0", "grunt-contrib-clean": "^1.1.0", diff --git a/src/js/bs3/settings.js b/src/js/bs3/settings.js index 6a7589cb3..5be77fd8e 100644 --- a/src/js/bs3/settings.js +++ b/src/js/bs3/settings.js @@ -1,6 +1,7 @@ import $ from 'jquery'; import ui from '../bs3/ui'; import dom from '../base/core/dom'; +import range from '../base/core/range'; import '../base/summernote-en-US'; import Editor from '../base/module/Editor'; import Clipboard from '../base/module/Clipboard'; @@ -28,6 +29,7 @@ $.summernote = $.extend($.summernote, { version: '@@VERSION@@', ui: ui, dom: dom, + range: range, plugins: {}, diff --git a/src/js/bs4/settings.js b/src/js/bs4/settings.js index d5e66ab40..46eb5f741 100644 --- a/src/js/bs4/settings.js +++ b/src/js/bs4/settings.js @@ -1,6 +1,7 @@ import $ from 'jquery'; import ui from '../bs4/ui'; import dom from '../base/core/dom'; +import range from '../base/core/range'; import '../base/summernote-en-US'; import Editor from '../base/module/Editor'; import Clipboard from '../base/module/Clipboard'; @@ -28,6 +29,7 @@ $.summernote = $.extend($.summernote, { version: '@@VERSION@@', ui: ui, dom: dom, + range: range, plugins: {},