config.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. "imageActionName": "uploadimage",
  3. "imageFieldName": "upfile",
  4. "imageMaxSize": 2048000,
  5. "imageAllowFiles": [".png", ".jpg", ".jpeg", ".gif", ".bmp"],
  6. "imageCompressEnable": true,
  7. "imageCompressBorder": 1600,
  8. "imageInsertAlign": "none",
  9. "imageUrlPrefix": "",
  10. "localSavePathPrefix":"statics/upload/images/inform",
  11. "imagePathFormat": "/ueditor/jsp/upload/image/{yyyy}{mm}{dd}/{time}{rand:6}",
  12. "scrawlActionName": "uploadscrawl",
  13. "scrawlFieldName": "upfile",
  14. "scrawlPathFormat": "/ueditor/jsp/upload/image/{yyyy}{mm}{dd}/{time}{rand:6}",
  15. "scrawlMaxSize": 2048000,
  16. "scrawlUrlPrefix": "",
  17. "scrawlInsertAlign": "none",
  18. "snapscreenActionName": "uploadimage",
  19. "snapscreenPathFormat": "/ueditor/jsp/upload/image/{yyyy}{mm}{dd}/{time}{rand:6}",
  20. "snapscreenUrlPrefix": "",
  21. "snapscreenInsertAlign": "none",
  22. "catcherLocalDomain": ["127.0.0.1", "localhost", "img.baidu.com"],
  23. "catcherActionName": "catchimage",
  24. "catcherFieldName": "source",
  25. "catcherPathFormat": "/ueditor/jsp/upload/image/{yyyy}{mm}{dd}/{time}{rand:6}",
  26. "catcherUrlPrefix": "",
  27. "catcherMaxSize": 2048000,
  28. "catcherAllowFiles": [".png", ".jpg", ".jpeg", ".gif", ".bmp"],
  29. "catchRemoteImageEnable": false,
  30. "videoActionName": "uploadvideo",
  31. "videoFieldName": "upfile",
  32. "videoPathFormat": "/ueditor/jsp/upload/video/{yyyy}{mm}{dd}/{time}{rand:6}",
  33. "videoUrlPrefix": "",
  34. "videoMaxSize": 10240000000,
  35. "videoAllowFiles": [
  36. ".flv", ".swf", ".mkv", ".avi", ".rm", ".rmvb", ".mpeg", ".mpg",
  37. ".ogg", ".ogv", ".mov", ".wmv", ".mp4", ".webm", ".mp3", ".wav", ".mid"],
  38. "fileActionName": "uploadfile",
  39. "fileFieldName": "upfile",
  40. "filePathFormat": "/ueditor/jsp/upload/file/{yyyy}{mm}{dd}/{time}{rand:6}",
  41. "fileUrlPrefix": "",
  42. "fileMaxSize": 5120000000,
  43. "fileAllowFiles": [
  44. ".png", ".jpg", ".jpeg", ".gif", ".bmp",
  45. ".flv", ".swf", ".mkv", ".avi", ".rm", ".rmvb", ".mpeg", ".mpg",
  46. ".ogg", ".ogv", ".mov", ".wmv", ".mp4", ".webm", ".mp3", ".wav", ".mid",
  47. ".rar", ".zip", ".tar", ".gz", ".7z", ".bz2", ".cab", ".iso",
  48. ".doc", ".docx", ".xls", ".xlsx", ".ppt", ".pptx", ".pdf", ".txt", ".md", ".xml"
  49. ],
  50. "imageManagerActionName": "listimage",
  51. "imageManagerListPath": "/ueditor/jsp/upload/image/",
  52. "imageManagerListSize": 20,
  53. "imageManagerUrlPrefix": "",
  54. "imageManagerInsertAlign": "none",
  55. "imageManagerAllowFiles": [".png", ".jpg", ".jpeg", ".gif", ".bmp"],
  56. "fileManagerActionName": "listfile",
  57. "fileManagerListPath": "/ueditor/jsp/upload/file/",
  58. "fileManagerUrlPrefix": "",
  59. "fileManagerListSize": 20,
  60. "fileManagerAllowFiles": [
  61. ".png", ".jpg", ".jpeg", ".gif", ".bmp",
  62. ".flv", ".swf", ".mkv", ".avi", ".rm", ".rmvb", ".mpeg", ".mpg",
  63. ".ogg", ".ogv", ".mov", ".wmv", ".mp4", ".webm", ".mp3", ".wav", ".mid",
  64. ".rar", ".zip", ".tar", ".gz", ".7z", ".bz2", ".cab", ".iso",
  65. ".doc", ".docx", ".xls", ".xlsx", ".ppt", ".pptx", ".pdf", ".txt", ".md", ".xml"
  66. ]
  67. }