From eb26de479bd6a0d1329ae221dff33ce333bf3ab9 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 8 Oct 2020 12:15:01 +0200 Subject: [PATCH] Make htmlarea widget exportable --- api/js/etemplate/et2_widget_htmlarea.js | 1 + api/js/etemplate/et2_widget_htmlarea.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/api/js/etemplate/et2_widget_htmlarea.js b/api/js/etemplate/et2_widget_htmlarea.js index 9946adbdbe..60c806eae9 100644 --- a/api/js/etemplate/et2_widget_htmlarea.js +++ b/api/js/etemplate/et2_widget_htmlarea.js @@ -480,5 +480,6 @@ var et2_htmlarea = /** @class */ (function (_super) { }; return et2_htmlarea; }(et2_core_editableWidget_1.et2_editableWidget)); +exports.et2_htmlarea = et2_htmlarea; et2_core_widget_1.et2_register_widget(et2_htmlarea, ["htmlarea"]); //# sourceMappingURL=et2_widget_htmlarea.js.map \ No newline at end of file diff --git a/api/js/etemplate/et2_widget_htmlarea.ts b/api/js/etemplate/et2_widget_htmlarea.ts index 368858d11c..98c765d450 100644 --- a/api/js/etemplate/et2_widget_htmlarea.ts +++ b/api/js/etemplate/et2_widget_htmlarea.ts @@ -23,7 +23,7 @@ import {WidgetConfig, et2_register_widget} from "./et2_core_widget"; /** * @augments et2_inputWidget */ -class et2_htmlarea extends et2_editableWidget implements et2_IResizeable +export class et2_htmlarea extends et2_editableWidget implements et2_IResizeable { static readonly _attributes : any = { mode: {