mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-16 18:11:34 +02:00
* Html Editor: Add a custom paragraph into block formating in order to get paragraph lines with no line-height
This commit is contained in:
@ -144,6 +144,9 @@ var et2_htmlarea = (function(){ "use strict"; return et2_editableWidget.extend([
|
||||
mobile: {
|
||||
theme: 'silver'
|
||||
},
|
||||
formats: {
|
||||
customparagraph: { block: 'p', styles: {"margin-block-start": "0px", "margin-block-end": "0px"}}
|
||||
},
|
||||
min_height: 100,
|
||||
convert_urls: false,
|
||||
language: et2_htmlarea.LANGUAGE_CODE[egw.preference('lang', 'common')],
|
||||
@ -167,7 +170,7 @@ var et2_htmlarea = (function(){ "use strict"; return et2_editableWidget.extend([
|
||||
],
|
||||
toolbar: et2_htmlarea.TOOLBAR_SIMPLE,
|
||||
block_formats: "Paragraph=p;Heading 1=h1;Heading 2=h2;Heading 3=h3;"+
|
||||
"Heading 4=h4;Heading 5=h5;Heading 6=h6;Preformatted=pre",
|
||||
"Heading 4=h4;Heading 5=h5;Heading 6=h6;Preformatted=pre;Custom Paragraph=customparagraph",
|
||||
font_formats: "Andale Mono=andale mono,times;Arial=arial,helvetica,"+
|
||||
"sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book "+
|
||||
"antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;"+
|
||||
|
Reference in New Issue
Block a user