Python 3 Flask connector
On the demo (fm.devale.pro) when I click on a file I see the file contents and can edit text files. However, on my server when I click on a file nothing happens. I see no output in the console either so I'm assuming file edit must be enabled but I'm not sure how. Here is my filemanager.config.json:
{
"_comment": "IMPORTANT : go to the wiki page to know about options configuration https://github.com/servocoder/RichFilemanager/wiki/Configuration-options",
"options": {
"culture": "en",
"theme": "default",
"defaultViewMode": "grid",
"localizeGUI": true,
"showFullPath": false,
"showTitleAttr": false,
"showConfirmation": true,
"browseOnly": false,
"clipboard": true,
"searchBox": true,
"fileSorting": "NAME_ASC",
"folderPosition": "bottom",
"quickSelect": false,
"logger": false,
"allowChangeExtensions": false,
"capabilities": [
"select",
"upload",
"download",
"rename",
"copy",
"move",
"replace",
"delete",
"extract",
"edit"
]
},
"filetree": {
"enabled": true,
"foldersOnly": false,
"reloadOnClick": true,
"expandSpeed": 200,
"showLine": true,
"width": 200,
"minWidth": 200
},
"manager": {
"dblClickOpen": false,
"selection": {
"enabled": true,
"useCtrlKey": true
},
"renderer": {
"position": false,
"indexFile": "readme.md"
}
},
"api": {
"lang": "python",
"connectorUrl": "/custom/connectors/python/filemanager",
"requestParams": []
},
"security": {
"allowNoExtension": false
},
"upload": {
"multiple": true,
"maxNumberOfFiles": 5,
"chunkSize": false
},
"viewer": {
"absolutePath": false,
"previewUrl": false,
"image": {
"enabled": true,
"showThumbs": true,
"thumbMaxWidth": 64,
"extensions": [
"jpg",
"jpe",
"jpeg",
"gif",
"png",
"svg"
]
},
"video": {
"enabled": true,
"extensions": [
"ogv",
"mp4",
"webm",
"m4v"
],
"playerWidth": 400,
"playerHeight": 222
},
"audio": {
"enabled": true,
"extensions": [
"ogg",
"mp3",
"wav"
]
},
"opendoc": {
"enabled": true,
"extensions": [
"pdf",
"odt",
"odp",
"ods"
],
"readerWidth": "640",
"readerHeight": "480"
},
"google": {
"enabled": true,
"extensions": [
"doc",
"docx",
"xls",
"xlsx",
"ppt",
"pptx"
],
"readerWidth": "640",
"readerHeight": "480"
},
"codeMirrorRenderer": {
"enabled": true,
"extensions": [
"txt",
"csv",
"xml",
"cnf"
]
},
"markdownRenderer": {
"enabled": true,
"extensions": [
"md"
]
},
"editable": {
"enabled": true,
"theme": "default",
"lineNumbers": true,
"lineWrapping": true,
"codeHighlight": true,
"matchBrackets": true,
"extensions": [
"txt",
"csv",
"md",
"xml",
"cnf"
]
}
},
"customScrollbar": {
"enabled": true,
"theme": "inset-2-dark",
"button": true
},
"extras": {
"extra_js": [],
"extra_js_async": true
},
"url": "https://github.com/servocoder/RichFilemanager",
"version": "2.3.2"
}