how can i remove the phpcode button in the editor and replace it with code so it
uses [code ] [/code ] tags instead
uses [code ] [/code ] tags instead
![]() |
how can i remove the phpcode button in the editor and replace it with code so it
uses [code ] [/code ] tags instead
There is no need to "replace" that button since its already available on editors. You just have to remove the [php] button from ./jscripts/editor.js
can u tell me instructions to add [code ] tags to the editor?
Code Tag is there, as Yaldaram said:
Available representing code in editor.js is: {type: 'button', name: 'code', sprite: 'code', insert: 'code', title: this.options.lang.title_code}, This is the code line for a new button against existing BBCode: {type: 'button', name: 'BBCodeName', insert: 'BBCodeName', image: 'imgforbtn.png', title: 'BBCodeName'} |
« Next Oldest | Next Newest »
|