Technical Details
Forum version : #phpBB2
Position : Founder
Concerned browser(s) : Google Chrome
Who the problem concerns : Yourself
Forum link : ( link is hidden, you must reply to see )
Description of problem
Hey guys!I would like to add a custom button to the editor. Like for example this button here:
The button would add this code to the message field:
- Code:
[temosPavadinimas] userValue1 [/temosPavadinimas]
[temosAprasymas] userValue2 [/temosAprasymas]
[temosIMG] userValue3 [/temosIMG]
The values from the brackets would actually be applied like this:
- Code:
<br /><span class="PranesimoAntraste"><center> userValue1 </center></span><div class="PranesimoFonas">
<div class="PranesimoTekstas"> userValue2
[center]<img style="width: 440px" src="userValue3"/>[/center]
</div>
</div>
<br />
Is this possible? Or at least, how to add a button, witch would apply the div code to the editor field?
Last edited by Kami-sama on August 10th 2017, 10:12 pm; edited 3 times in total