This commit is contained in:
2020-09-11 21:32:49 +00:00
parent a26cb728a0
commit b56ce56e26
2 changed files with 5 additions and 31 deletions

View File

@@ -123,37 +123,10 @@
import * as monaco from "monaco-editor";
//jsreport demo
//https://playground.jsreport.net/w/admin/hBfqC7af
//jsreport text editor source
//https://github.com/jsreport/jsreport-studio/blob/master/src/components/Editor/TextEditor.js
//Monaco editor info page with links
//https://microsoft.github.io/monaco-editor/
//vue-monaco component source
//https://github.com/egoist/vue-monaco/blob/master/src/MonacoEditor.js
/*TODO:
Is the report list filtered by roles? It should not present reports that a user is not permitted to use by role.
Add sanitize html for Marked markdown helper as in Wiki control
FUTURE:
Handlebars.logger.log is a thing and may contain useful diagnostic info
pre-scan the template for validity? Get the correct error, right now a missing helper is just: Evaluation failed: d
which is not particularly helpful
When in report designer it would be useful to show the html generated by the renderer as a diagnostic assistant
Also the script that will be executed minus the hb and marked etc if possible
*/
const FORM_KEY = "ay-report-edit";
let JUST_DELETED = false;
let editor = null;