Skip to content

Commit

Permalink
Make the "range" object available for external modules.
Browse files Browse the repository at this point in the history
  • Loading branch information
vlads committed Jun 20, 2018
1 parent b73d5a3 commit 7d83aec
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 2 additions & 0 deletions src/js/bs3/settings.js
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -28,6 +29,7 @@ $.summernote = $.extend($.summernote, {
version: '@@VERSION@@',
ui: ui,
dom: dom,
range: range,

plugins: {},

Expand Down
2 changes: 2 additions & 0 deletions src/js/bs4/settings.js
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -28,6 +29,7 @@ $.summernote = $.extend($.summernote, {
version: '@@VERSION@@',
ui: ui,
dom: dom,
range: range,

plugins: {},

Expand Down

0 comments on commit 7d83aec

Please sign in to comment.