KO - Divi 4 Superscript
Adds a custom superscript button to Divi 4 text editors and wraps selected text in a CSS-ready class.
by KO · github.com/wy4tt34rp/ko-divi-4-superscript · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/wy4tt34rp/ko-divi-4-superscript/archive/refs/heads/main.zipAdds a Sup button to Divi 4 text editors and wraps selected content in a CSS-ready superscript class.
Description
KO - Divi 4 Superscript adds a custom TinyMCE toolbar button for Divi 4 text editing. Select a letter, number, or symbol in a Divi Text Module editor, click Sup, and the selection is wrapped as:
selected text
You can target the output in the Divi CSS field with:
.ko-divi-superscript { font-size: 0.65em; line-height: 0; }
The browser's native sup element provides the default superscript positioning, while the custom class gives you a stable styling hook.
Installation
- Upload the ko-divi-4-superscript folder to wp-content/plugins, or upload the zip through Plugins > Add New > Upload Plugin.
- Activate KO - Divi 4 Superscript.
- Edit a Divi Text Module, select the character or symbol, and click Sup in the text toolbar.
Changelog
1.0.0
Initial release.