The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
OK Im lost :-) HOW DO I REMOVE A BUTTON ckeditor
Forgive me, Ive been so busy updating that I cant seem to find anything anymore.
All Im looking for is a way to remove the bottom row of buttons on the CKeditor. Using the built in feature just fades them out I would rather take them off completely. |
#2
|
||||
|
||||
Actually, they are faded or enabled depending on if you are in WYSIWYG mode or standard mode.
|
#3
|
|||
|
|||
If you mean that you want those buttons to go away when they're not active, then I don't know. But if you want them to always go away, then you can look at ckeditor.php, the function setToolbar builds the $this->config['toolbar'] array that configures the buttons. If you create a plugin using hook editor_construct (which is right after setToolbar is called), you can change that array.
|
#4
|
|||
|
|||
if you want to remove it for ever from editor box
Open ckeditor.php in forumroot/vb folder Find And Remove it Code:
$toolbar[] = '/'; $toolbar[] = array('Table', 'TableProperties', 'DeleteTable', '-', 'InsertRowBefore', 'InsertRowAfter', 'DeleteRow', '-', 'InsertColumnBefore', 'InsertColumnAfter', 'DeleteColumn', '-', 'Subscript', 'Superscript', 'HorizontalRule'); |
#5
|
||||
|
||||
Quote:
|
#6
|
|||
|
|||
I'd pretty much like to remove every toolbar from the comments editor of the CMS and keep it very, very basic, like most of the big newspaper sites. Anybody happy to share or do I need to get my wallet out?
|
#7
|
|||
|
|||
Quote:
Code:
if (THIS_SCRIPT=='vbcms' AND $this->editor_type == 'qr') { $this->config['toolbar'] = array(array()); $toolbartype = 0; } ETA: And something else I didn't even know about until Lynne just posted it - there's an option to turn off the toolbars, but I think it only works for all the "quick reply" editors (and not just cms): AdminCP > Settings > Options > Message Posting Interface Options > Enable Clickable Message Formatting Controls |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|