How to process html Heading (H1, H2 etc) in the editor

General TRichView support forum. Please post your questions here
Post Reply
mibs
Posts: 1
Joined: Mon Jan 14, 2019 1:45 pm

How to process html Heading (H1, H2 etc) in the editor

Post by mibs » Mon Jan 14, 2019 2:11 pm

I use the TRichViewEdit as a wysiwyg editor that loads and saves HTML. Now I would like to create HTML headings (like H1, H2 etc) in the TRichViewEdit so we can save them in the HTML. What would be the best way to achieve this?

Sergey Tkachenko
Site Admin
Posts: 14552
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: How to process html Heading (H1, H2 etc) in the editor

Post by Sergey Tkachenko » Mon Jan 14, 2019 6:47 pm

The corresponding property is OutlineLevel of paragraph style.

In RichViewActions, you can edit this property for the selected paragraph in the paragraph dialog (page "Advanced", combo box "outline level")

Post Reply