Not Solved remove php code button and add own highlighting
#1
Not Solved
Hi.
I'm on a fresh install of mybb1.8 and need to remove the php code button.
Additionally I would like to add a customized highlighting to the standard code button?
How to do both of those things, where to look?

Thanks in advance...
Reply
#2
Not Solved
php code button? a image would be great or forum url.
Reply
#3
Not Solved
Hi, you can write this code at the end of global.css to hide php code button Smile :

[data-sceditor-command=php] {
    display: none !important;
}

And for highlighting codes, you can use highlightjs.org, like my forum Big Grin :
http://construct2.ir/showthread.php?tid=1076
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)