From 38ebca1a24bc857ce2bbc5a1e8775c89ddcb7df2 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 11 Feb 2020 16:58:55 +0100 Subject: [PATCH] * Html Editor: Add 9pt, 9px, 11pt and 11px into Html editor's font options --- api/js/etemplate/et2_widget_htmlarea.js | 5 ++--- api/js/etemplate/et2_widget_htmlarea.ts | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/api/js/etemplate/et2_widget_htmlarea.js b/api/js/etemplate/et2_widget_htmlarea.js index d1db82a936..94b04e6081 100644 --- a/api/js/etemplate/et2_widget_htmlarea.js +++ b/api/js/etemplate/et2_widget_htmlarea.js @@ -453,8 +453,8 @@ var et2_htmlarea = /** @class */ (function (_super) { * @constant */ et2_htmlarea.FONT_SIZE_FORMATS = { - pt: "8pt 10pt 12pt 14pt 18pt 24pt 36pt 48pt 72pt", - px: "8px 10px 12px 14px 18px 24px 36px 48px 72px" + pt: "8pt 9pt 10pt 11pt 12pt 14pt 18pt 24pt 36pt 48pt 72pt", + px: "8px 9px 10px 11px 12px 14px 18px 24px 36px 48px 72px" }; /** * language code represention for TinyMCE lang code @@ -471,4 +471,3 @@ var et2_htmlarea = /** @class */ (function (_super) { return et2_htmlarea; }(et2_core_editableWidget_1.et2_editableWidget)); 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 01cdb6ea49..1463943ea0 100644 --- a/api/js/etemplate/et2_widget_htmlarea.ts +++ b/api/js/etemplate/et2_widget_htmlarea.ts @@ -125,8 +125,8 @@ class et2_htmlarea extends et2_editableWidget implements et2_IResizeable * @constant */ public static readonly FONT_SIZE_FORMATS : {pt : string, px : string} = { - pt: "8pt 10pt 12pt 14pt 18pt 24pt 36pt 48pt 72pt", - px:"8px 10px 12px 14px 18px 24px 36px 48px 72px" + pt: "8pt 9pt 10pt 11pt 12pt 14pt 18pt 24pt 36pt 48pt 72pt", + px:"8px 9px 10px 11px 12px 14px 18px 24px 36px 48px 72px" }; /**