The name field is the text displayed in the dropdown.
The selector field for a paragraph would be p and for h1 the selector would be h1 etc. if you want to add a class to the element then you can use a dot in the selector like this:
p.text-regular this would add a class of text-regular to your p tag.
The styles field is just used in the Umbraco backoffice so you can see a difference in the rich text editor. It doesn’t affect the front end of your site.
RTE Adding Class/Style Not Working. V8
Please Help me with RTE, i already added stylesheet in RTE also check on Editor settings. but still not working. Please Help. Thank you
Hi
The name field is the text displayed in the dropdown.
The selector field for a paragraph would be p and for h1 the selector would be h1 etc. if you want to add a class to the element then you can use a dot in the selector like this:
p.text-regular this would add a class of text-regular to your p tag.
The styles field is just used in the Umbraco backoffice so you can see a difference in the rich text editor. It doesn’t affect the front end of your site.
I hope that helps
Paul
Thank you so much Paul. It works
is working on a reply...