I’ve an RTF input field (form connected to a database). I want to present this field on another page, with specific styling. (font type, font size 18px, line height 1.8), an d I don’t want the user to style it herself.
I can’t use a regular text box because of the use of paragraphs (returns).
I don’t want to manually style the fields, one by one, in the database.
So the only way I can think of is to style the RTF field in HTML
Does anyone have an example of formatting a RTF textbox? No interaction needed.
I’m not a coder and can’t get it to work with this:
$w(“#richText”).html = ‘<p class=“p2” style=“font-size:18px"><span style=“font-size:18px"><span style=““line-height:1.8”>’ + $w(“#richText”).text +‘
’}
Your input is highly appreciated.
It would be a blessing when this would be standard solution in corvid wix
Regards,
Tanya