Add sub text button
October 2nd, 2024v 7.2.5
Have made a copy of the quicktags plugin >> _myhtmltags.plugin.php
Plugin not updated on this site [rogerlovejoy.net] but on [calstock.org.uk]
<figure>
Duplicated, inserted and modified section of code and removed [, -1, 'last'] from sup and sub codes and removed a few trailing slashes and the less thn and greater signs on the BR button to save horizontal space
Insert extra code : so moved all lines below
PHP
<?php echo $params['js_prefix']; ?>b2evoButtons[<?php echo $params['js_prefix']; ?>b2evoButtons.length] = new <?php echo $params['js_prefix']; ?>b2evoButton( | |
'<?php echo $params['js_prefix']; ?>b2evo_sup' | |
,'sub', '' | |
,'<sub>','</sub>\n' | |
,'l' | |
,'<?php echo TS_('Sub position') ?>'/*, -1, 'last'*/ | |
); |