Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I'm using Umbraco V13, and am trying to control the ordered list options within TinyMCE.
TinyMCE allows you to control the available styles in the bullet and numbered list dropdowns via appSettings.json (excerpt below):
"RichTextEditor": { "CustomConfig": { "advlist_bullet_styles": "", "advlist_number_styles": "lower-alpha,lower-roman,upper-alpha,upper-roman" } }
and this applies a style to the markup such as:
<ol style="list-style-type: lower-alpha;"> <li>List Item 1</li> <li>List Item 2</li> </ol>
but we want to use the "type" attribute which we style via CSS rather than adding inline styles. So what we want is:
<ol type="a"> <li>List Item 1</li> <li>List Item 2</li> </ol>
Any ideas if TinyMCE can be configured to do this? Many thanks!
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How to apply TYPE attribute to TinyMCE ordered lists
Hi,
I'm using Umbraco V13, and am trying to control the ordered list options within TinyMCE.
TinyMCE allows you to control the available styles in the bullet and numbered list dropdowns via appSettings.json (excerpt below):
and this applies a style to the markup such as:
but we want to use the "type" attribute which we style via CSS rather than adding inline styles. So what we want is:
Any ideas if TinyMCE can be configured to do this? Many thanks!
is working on a reply...