|
|
@@ -102,9 +102,8 @@ class Vditor extends VditorMethod {
|
|
|
this.vditor.upload = new Upload();
|
|
|
}
|
|
|
|
|
|
- // `http://192.168.2.248:9090/lute.min.js?${new Date().getTime()}`
|
|
|
- // "'src/js/lute/lute.min.js"'
|
|
|
- // `${mergedOptions.cdn}/dist/js/lute/lute.min.js`
|
|
|
+ // addScript("'src/js/lute/lute.min.js"', "vditorLuteScript").then(() => {
|
|
|
+ // addScript(`http://192.168.2.248:9090/lute.min.js?${new Date().getTime()}`, "vditorLuteScript").then(() => {
|
|
|
addScript(`${mergedOptions.cdn}/dist/js/lute/lute.min.js`, "vditorLuteScript").then(() => {
|
|
|
this.vditor.lute = setLute({
|
|
|
autoSpace: this.vditor.options.preview.markdown.autoSpace,
|