Disallow subscript and superscript at the same time #5215
Labels
plugin:basicstyles
The plugin which probably causes the issue.
status:confirmed
An issue confirmed by the development team.
support:2
An issue reported by a commercially licensed client.
type:feature
A feature request.
Milestone
Type of report
Feature request
Provide description of the new feature
Currently, enabling subscript and superscript on the same content will result in producing the below HTML:
Many popular text editors (like MS Word) don't allow to style text with subscript and superscript at the same time. It's not recommended to change the current implementation, but we could introduce an opt-in configuration option that would give more freedom in choosing proper behavior:
<p><sub>foobar</sub></p>
<p><sup>foobar</sup></p>
The text was updated successfully, but these errors were encountered: