-
Notifications
You must be signed in to change notification settings - Fork 0
Description
ace-editor loads resources old school. It simply works out a base path and dynamically loads all resources from there. Whilst there are options to set the workerPath, themePath (separately if your into that sort of thing), this really doesn't work for our plugins.
Our plugins need to be self-sufficient - bundled with everything they require and users of the plugin should not need to copy resources the plugin requires to some special folder (which is currently the case).
Idea 1: Create our own oscd-xml-editor in oscd-ui. We can then use the ace-editor (not the ace-custom-element) to gain better control over the loading of resources (and the setting of paths). We should also investigate if the ace-builds builder -> https://github.com/ajaxorg/ace?tab=readme-ov-file#building-ace to build a version of the ace-editor to our exact needs.
Idea 2: Find a more modern editor for previewing xml which uses more modern resources handling.