Files
mixly3/common/modules/mixly-modules/common/editor-unknown.js
2024-07-19 10:16:00 +08:00

35 lines
733 B
JavaScript

goog.loadJs('common', () => {
goog.require('path');
goog.require('Mixly.XML');
goog.require('Mixly.Env');
goog.require('Mixly.HTMLTemplate');
goog.require('Mixly.EditorBase');
goog.provide('Mixly.EditorUnknown');
const {
XML,
Env,
HTMLTemplate,
EditorBase
} = Mixly;
class EditorUnknown extends EditorBase {
static {
HTMLTemplate.add(
'html/editor/editor-unknown.html',
new HTMLTemplate(goog.get(path.join(Env.templatePath, 'html/editor/editor-unknown.html')))
);
}
constructor() {
super();
this.setContent(
$(HTMLTemplate.get('html/editor/editor-unknown.html').render())
);
}
}
Mixly.EditorUnknown = EditorUnknown;
});