vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Change WYSIWYG editor to single row? (https://vborg.vbsupport.ru/showthread.php?t=327086)

Scalemotorcars 02-11-2019 09:05 PM

Change WYSIWYG editor to single row?
 
1 Attachment(s)
Sorry I tried to find how to change it but I didn't see anything that would work with 4.2.*

I'm trying to make the editor buttons align to a single row rather than 3. It's just a styling thing.

Does anyone know what file, template or script to edit to remove the <br> in the code?

Also, any mods to turn off or hide buttons completely like all the (Table formatting buttons). Turning them off in the CP just grays them out but can still be seen.

Thanks.

MarkFL 02-11-2019 10:08 PM

Try this product:

Custom Toolbar

Scalemotorcars 02-11-2019 10:26 PM

Ok I figured out how to hide the Table Buttons. Still looking for a way to put everything on one line. Any help would be great. Thanks.

--------------- Added [DATE]1549931881[/DATE] at [TIME]1549931881[/TIME] ---------------

Thanks, Mark but for some reason, it doesn't work for me 4.4.2. I can't activate the plugin at all. I tried removing a few buttons and clicked to turn it on and nothing. It says settings saved but doesn't.

MarkFL 02-11-2019 10:56 PM

If you want to PM me the credentials to an admin account on your site, I can come take a look later tonight when I'm in for the evening. :)

Scalemotorcars 02-12-2019 01:34 AM

That's ok. I figured out its just a bit of code in the group config for ckeditor but I can't seem to find in on the server, templates or phrases.

Do you know where "toolbarGroups" is defined?

--------------- Added [DATE]1549943844[/DATE] at [TIME]1549943844[/TIME] ---------------

Ok, I found it.

forum/vb/ckeditor.php.

Look for
Code:

$toolbar[] = '/';
Remove the ones you dont need.


All times are GMT. The time now is 08:01 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00985 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete