We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c767cfb commit a7065c5Copy full SHA for a7065c5
packages/devui-vue/devui/editor-md/src/plugins/checkbox.ts
@@ -1,4 +1,4 @@
1
-import * as _ from 'lodash';
+import { extend } from 'lodash';
2
3
const checkboxReplace = function (md: any, options: any) {
4
let lastId: number;
@@ -9,7 +9,7 @@ const checkboxReplace = function (md: any, options: any) {
9
divClass: 'checkbox',
10
idPrefix: 'checkbox',
11
};
12
- options = _.extend(defaults, options);
+ options = extend(defaults, options);
13
const pattern = /\[(X|\s|\_|\-)\]\s(.*)/i;
14
const createTokens = function (checked: any, label: any, Token: any) {
15
let token;
0 commit comments