Add underline button into html editor's toolbar

This commit is contained in:
Hadi Nategh
2021-12-06 10:14:37 +01:00
parent efdeb597ff
commit c115e762b1
3 changed files with 6 additions and 5 deletions

View File

@ -118,7 +118,7 @@ export class et2_htmlarea extends et2_editableWidget implements et2_IResizeable
* arranged toolbars as simple mode
* @constant
*/
public static readonly TOOLBAR_SIMPLE : string = "undo redo|formatselect fontselect fontsizeselect | bold italic removeformat forecolor backcolor | "+
public static readonly TOOLBAR_SIMPLE : string = "undo redo|formatselect fontselect fontsizeselect | bold italic underline removeformat forecolor backcolor | "+
"alignleft aligncenter alignright alignjustify | bullist "+
"numlist outdent indent| link image pastetext | table";
@ -126,7 +126,7 @@ export class et2_htmlarea extends et2_editableWidget implements et2_IResizeable
* arranged toolbars as extended mode
* @constant
*/
public static readonly TOOLBAR_EXTENDED : string = "fontselect fontsizeselect | bold italic strikethrough forecolor backcolor | "+
public static readonly TOOLBAR_EXTENDED : string = "fontselect fontsizeselect | bold italic underline strikethrough forecolor backcolor | "+
"link | alignleft aligncenter alignright alignjustify | numlist "+
"bullist outdent indent | removeformat | image | fullscreen | table";
@ -134,7 +134,7 @@ export class et2_htmlarea extends et2_editableWidget implements et2_IResizeable
* arranged toolbars as advanced mode
* @constant
*/
public static readonly TOOLBAR_ADVANCED : string = "undo redo| formatselect | fontselect fontsizeselect | bold italic strikethrough forecolor backcolor | "+
public static readonly TOOLBAR_ADVANCED : string = "undo redo| formatselect | fontselect fontsizeselect | bold italic underline strikethrough forecolor backcolor | "+
"alignleft aligncenter alignright alignjustify | bullist "+
"numlist outdent indent ltr rtl | removeformat code| link image pastetext | searchreplace | fullscreen | table";