Html area font type and size , css

Has any one the css specs to change the font size and type in a html aera.

I want tho change the size and space between the lines. to the same as the TextArea on the right

Hi,

Use the approach shown in the image above, or alternatively define the following class in the CSS.

.html-editor-content {
font-size: 14px;
line-height: 1.5;
}

.html-editor-content p {
margin: 0;
padding: 0;
}

Assign the CSS class to the HTML Area’s styleClass.

Thanks
Aijaz Ali

Thanks Aijaz

It works.

Start with

as text.

by save replace the

with
:

contact_log_antw = utils.stringReplace(contact_log_antw,‘

\n

’,‘
\n’);

elements.label_antw.text = utils.stringReplace(contact_log_antw,'<p style="font-size: 12px;">','<p>')

Now the text is visible in tabel en label


1 Like