From 23aea3b42e3e498dd223c597e0374e67efb296c7 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 9 Oct 2020 14:57:03 +0200 Subject: [PATCH] Make html widget exportable --- api/js/etemplate/et2_widget_html.js | 1 + api/js/etemplate/et2_widget_html.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/api/js/etemplate/et2_widget_html.js b/api/js/etemplate/et2_widget_html.js index 0d3f8a0fb9..2f9a015e62 100644 --- a/api/js/etemplate/et2_widget_html.js +++ b/api/js/etemplate/et2_widget_html.js @@ -112,5 +112,6 @@ var et2_html = /** @class */ (function (_super) { }; return et2_html; }(et2_core_valueWidget_1.et2_valueWidget)); +exports.et2_html = et2_html; et2_core_widget_1.et2_register_widget(et2_html, ["html", "htmlarea_ro"]); //# sourceMappingURL=et2_widget_html.js.map \ No newline at end of file diff --git a/api/js/etemplate/et2_widget_html.ts b/api/js/etemplate/et2_widget_html.ts index 7f8f58c974..2c3c8da48d 100644 --- a/api/js/etemplate/et2_widget_html.ts +++ b/api/js/etemplate/et2_widget_html.ts @@ -21,7 +21,7 @@ import {ClassWithAttributes} from "./et2_core_inheritance"; /** * @augments et2_valueWidget */ -class et2_html extends et2_valueWidget implements et2_IDetachedDOM +export class et2_html extends et2_valueWidget implements et2_IDetachedDOM { static readonly _attributes : any = { 'label': {