Browse Source

:rotating_light:

Vanessa 5 years ago
parent
commit
c434cdfa20
1 changed files with 0 additions and 3 deletions
  1. 0 3
      demo/index.js

+ 0 - 3
demo/index.js

@@ -119,9 +119,6 @@ window.vditor = new Vditor('vditor', {
     token: 'test',
     url: '/api/upload/editor',
     linkToImgUrl: '/api/upload/fetch',
-    handler (files) {
-      console.log(files)
-    },
     filename (name) {
       return name.replace(/[^(a-zA-Z0-9\u4e00-\u9fa5\.)]/g, '').
         replace(/[\?\\/:|<>\*\[\]\(\)\$%\{\}@~]/g, '').