mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-01 04:13:28 +01:00
Add underline button into html editor's toolbar
This commit is contained in:
parent
f8dea76dab
commit
89507d1f2b
@ -112,7 +112,7 @@ export class et2_htmlarea extends et2_editableWidget implements et2_IResizeable
|
|||||||
* arranged toolbars as simple mode
|
* arranged toolbars as simple mode
|
||||||
* @constant
|
* @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 "+
|
"alignleft aligncenter alignright alignjustify | bullist "+
|
||||||
"numlist outdent indent| link image pastetext | table";
|
"numlist outdent indent| link image pastetext | table";
|
||||||
|
|
||||||
@ -120,7 +120,7 @@ export class et2_htmlarea extends et2_editableWidget implements et2_IResizeable
|
|||||||
* arranged toolbars as extended mode
|
* arranged toolbars as extended mode
|
||||||
* @constant
|
* @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 "+
|
"link | alignleft aligncenter alignright alignjustify | numlist "+
|
||||||
"bullist outdent indent | removeformat | image | fullscreen | table";
|
"bullist outdent indent | removeformat | image | fullscreen | table";
|
||||||
|
|
||||||
@ -128,7 +128,7 @@ export class et2_htmlarea extends et2_editableWidget implements et2_IResizeable
|
|||||||
* arranged toolbars as advanced mode
|
* arranged toolbars as advanced mode
|
||||||
* @constant
|
* @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 "+
|
"alignleft aligncenter alignright alignjustify | bullist "+
|
||||||
"numlist outdent indent ltr rtl | removeformat code| link image pastetext | searchreplace | fullscreen | table";
|
"numlist outdent indent ltr rtl | removeformat code| link image pastetext | searchreplace | fullscreen | table";
|
||||||
|
|
||||||
|
@ -84,7 +84,7 @@ class HtmlArea extends Etemplate\Widget
|
|||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
public static $toolbar_list = [
|
public static $toolbar_list = [
|
||||||
'undo', 'redo', 'bold', 'italic', 'strikethrough', 'forecolor', 'backcolor',
|
'undo', 'redo', 'bold', 'italic', 'underline', 'strikethrough', 'forecolor', 'backcolor',
|
||||||
'link', 'alignleft', 'aligncenter', 'alignright', 'alignjustify',
|
'link', 'alignleft', 'aligncenter', 'alignright', 'alignjustify',
|
||||||
'numlist', 'bullist', 'outdent', 'indent', 'ltr', 'rtl','pastetext',
|
'numlist', 'bullist', 'outdent', 'indent', 'ltr', 'rtl','pastetext',
|
||||||
'removeformat', 'code', 'image', 'searchreplace','formatselect', 'fontselect', 'fontsizeselect', 'fullscreen', 'table'
|
'removeformat', 'code', 'image', 'searchreplace','formatselect', 'fontselect', 'fontsizeselect', 'fullscreen', 'table'
|
||||||
@ -96,7 +96,7 @@ class HtmlArea extends Etemplate\Widget
|
|||||||
*/
|
*/
|
||||||
public static $toolbar_default_list = [
|
public static $toolbar_default_list = [
|
||||||
'undo', 'redo','formatselect', 'fontselect', 'fontsizeselect',
|
'undo', 'redo','formatselect', 'fontselect', 'fontsizeselect',
|
||||||
'bold' ,'italic', 'removeformat', 'forecolor', 'backcolor', 'alignleft',
|
'bold' ,'italic', 'underline', 'removeformat', 'forecolor', 'backcolor', 'alignleft',
|
||||||
'aligncenter', 'alignright', 'alignjustify', 'numlist', 'bullist', 'outdent',
|
'aligncenter', 'alignright', 'alignjustify', 'numlist', 'bullist', 'outdent',
|
||||||
'indent', 'link', 'image', 'pastetext', 'table'
|
'indent', 'link', 'image', 'pastetext', 'table'
|
||||||
];
|
];
|
||||||
|
1
api/templates/default/images/htmlarea/underline.svg
Normal file
1
api/templates/default/images/htmlarea/underline.svg
Normal file
@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24"><path d="M16 5c.6 0 1 .4 1 1v5.5a4 4 0 01-.4 1.8l-1 1.4a5.3 5.3 0 01-5.5 1 5 5 0 01-1.6-1c-.5-.4-.8-.9-1.1-1.4a4 4 0 01-.4-1.8V6c0-.6.4-1 1-1s1 .4 1 1v5.5c0 .3 0 .6.2 1l.6.7a3.3 3.3 0 002.2.8 3.4 3.4 0 002.2-.8c.3-.2.4-.5.6-.8l.2-.9V6c0-.6.4-1 1-1zM8 17h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 010-2z" fill-rule="evenodd"/></svg>
|
After Width: | Height: | Size: 431 B |
Loading…
Reference in New Issue
Block a user