Adding extra formatting option for RichText ?
-
Hello,
Is there a way to add an option in the Rich Text Formatting with EditorsKit ? I want to add a <small> HTML element because I have a smaller word in the same paragraph.
1/ I get the expected result with <sup> but it’s not semantically correct:
<p>2000 <sup>people</sup></p>
2/ I can also do this with a strong HTML element but it’s less visible in the editor:
<p class="strongerWord"><strong>2000</strong>people</p>
.strongWord strong {font-size: 3em;}
So the <small> HTML element seems well suited to me but I can’t find anything on the possibility of implementing my own option.
Thank you !`
- This topic was modified 2 years, 6 months ago by .
- This topic was modified 2 years, 6 months ago by .
- This topic was modified 2 years, 6 months ago by .
- This topic was modified 2 years, 6 months ago by .
- This topic was modified 2 years, 6 months ago by .
- This topic was modified 2 years, 6 months ago by .
- This topic was modified 2 years, 6 months ago by .
- This topic was modified 2 years, 6 months ago by .
- This topic was modified 2 years, 6 months ago by .
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Adding extra formatting option for RichText ?’ is closed to new replies.