# HTML Renderer Release 3.6
# New features and improvements
# Add support for superscript
and subscript
We introduced new editor controls to superscript or subscript certain text pieces. To add it to your editor, the control has the key supersubscript
. You can optionally hide one of those two buttons via configuration.
Example for field renderer:
<group_renderer>
<!-- just both superscript and subscript buttons -->
<field_renderer>
<type>html</type>
<field_renderer_attributes>
<entry key="editor_controls" class="array">
<value>supersubscript</value>
</entry>
</field_renderer_attributes>
</field_renderer>
<!-- hide superscript button -->
<field_renderer>
<type>html</type>
<field_renderer_attributes>
<entry key="editor_controls" class="array">
<value class="array">
<value>supersubscript</value>
<value class="map">
<entry key="superscript" class="boolean">false</entry>
</value>
</value>
</entry>
</field_renderer_attributes>
</field_renderer>
<!-- hide subscript button -->
<field_renderer>
<type>html</type>
<field_renderer_attributes>
<entry key="editor_controls" class="array">
<value class="array">
<value>supersubscript</value>
<value class="map">
<entry key="subscript" class="boolean">false</entry>
</value>
</value>
</entry>
</field_renderer_attributes>
</field_renderer>
</group_renderer>
# How to get these improvements
- Upgrade 4App HTML Renderer to version 3.6
- Dependency: Upgrade 4App Core Engine to version 3.10