mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-16 19:08:27 +01:00
more cleaning up commented out code
This commit is contained in:
parent
53d9abcbd9
commit
8d29ad1841
@ -524,13 +524,6 @@ export class et2_htmlarea extends et2_editableWidget implements et2_IResizeable
|
|||||||
{
|
{
|
||||||
if (this.editor)
|
if (this.editor)
|
||||||
{
|
{
|
||||||
/* set users preferred font and -size explicit for all these elements without any style set
|
|
||||||
this.editor.getDoc().querySelectorAll('div:not([style]),li:not([style]),p:not([style]),blockquote:not([style]),fieldset:not([style]),td:not([style])')
|
|
||||||
.forEach(element => {
|
|
||||||
element.style.fontFamily = (egw.preference('rte_font', 'common') || 'arial, helvetica, sans-serif');
|
|
||||||
element.style.fontSize = (egw.preference('rte_font_size', 'common') || '10')+'pt';
|
|
||||||
});*/
|
|
||||||
|
|
||||||
return this.editor.getContent();
|
return this.editor.getContent();
|
||||||
}
|
}
|
||||||
return this.options.readonly ? this.value : this.htmlNode.val();
|
return this.options.readonly ? this.value : this.htmlNode.val();
|
||||||
|
Loading…
Reference in New Issue
Block a user