Superscript and Subscript in a new WYSIWYG editor


#1

Enonic version: 6.15.3
OS: Linux

Hi!

After upgrading to a new Enonic version with a new WYSIWYG editor, the “Formats” menu was changed and Superscript and Subscript were removed from there. Is there any config file for the built-in “Text” part, which allows to add these two formattings?

Thanks!


#2

Hi

Yes, as described here.
So in case of Superscript/Subscript it will be:

<input name="htmlarea_text" type="HtmlArea">
  <label>HTML content</label>
  <occurrences minimum="0" maximum="1"/>
  <config>
    <include>Subscript Superscript</include>
  </config>
</input>

#3

Thanks for your reply. I saw this and I know how to add Superscript/Subscript to HTML area in part, but I mean the text, which can be dropped inside a page without any part.
Screenshot%20from%202018-10-22


#4

Ah, you meant in text component… No, that is not configurable - so you’ll have to use the Source mode for now. I guess we could expand the toolbar in text component to have a wider range of tools (same as before) since we’re not as limited by the space there as we are in the Content Wizard. I’ll register a task for this, should be ready for the 7.0 release.


#5

Ok. Thank you for reply. I am looking forward to this.
Do you have any estimates on when the 7.0 will be released?
Thanks again! :slight_smile:


#6

The issue is here, if you want to follow it up.

We’re aiming for the december release of 7.0 but it depends on if Santa Claus is coming to town on time.