We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

LG TinyMCE problem

Development and Programming

dgraydesign's avatar
dgraydesign
30 posts
16 years ago
dgraydesign's avatar dgraydesign

I’ve got this extension working just fine on a site, but I can’t get the buttons to display in multiple rows instead of one row. It’s presenting a problem when the user tries to edit with the browser width smaller than the width of the toolbar - they have to scroll.

My settings are:

plugins : 'safari,pagebreak,style,inlinepopups,media,contextmenu,paste,table,'
    + 'fullscreen,nonbreaking,xhtmlxtras',
theme_advanced_buttons1 : 'cut,copy,pastetext,|,formatselect,|,bold,italic,'
    + 'ins,del,nonbreaking,|,justifyleft,justifycenter,justifyright,justifyfull,|,bullist,numlist,outdent,'
    + 'indent,|,link,unlink,|,hr,|,tablecontrols,|,visualaid,fullscreen,|,image,|,cleanup,removeformat,code',
theme_advanced_buttons2 : '',
theme_advanced_buttons3 : '',

I tried this and the toolbar disappears entirely and goes back to the EE default editor:

plugins : 'safari,pagebreak,style,inlinepopups,media,contextmenu,paste,table,'
    + 'fullscreen,nonbreaking,xhtmlxtras',
theme_advanced_buttons1 : 'cut,copy,pastetext,|,formatselect,|,bold,italic,'
theme_advanced_buttons2 : 'ins,del,nonbreaking,|,justifyleft,justifycenter,justifyright,justifyfull,|,bullist,numlist,outdent,'
theme_advanced_buttons3 : 'indent,|,link,unlink,|,hr,|,tablecontrols,|,visualaid,fullscreen,|,image,|,cleanup,removeformat,code',

I also tried setting the resize horizontal parameter to “true” and it makes no difference. If someone could tell me what I’m missing here, I’d really appreciate it.

       
BigRed's avatar
BigRed
3 posts
16 years ago
BigRed's avatar BigRed

This works for me - nicely formatted on two lines:

theme_advanced_buttons1 : 'fullscreen,|,cut,copy,pastetext,pasteword,|,formatselect,bold,italic,|,justifyleft,justifycenter,justifyright,justifyfull,|,bullist,numlist,|,undo,redo,removeformat',
theme_advanced_buttons2 : 'link,unlink,|,image,insertimage,insertfile,|,tablecontrols,|,insertlayer,moveforward,movebackward,absolute,styleprops,cleanup,removeformat,code',
theme_advanced_buttons3 : '',

Not sure why yours isn’t working right - but it might be an idea to try removing the extra quotatios marks you have on your lines. I just have an opening and closing quotation mark on each line - you seem to have more than that. Just a thought!

Darrell twitter.com/darrell_wilson darrellwilson.co.uk

       
dgraydesign's avatar
dgraydesign
30 posts
16 years ago
dgraydesign's avatar dgraydesign

I tried moving the commas at the end of the lines in front of the closing single quote and it worked.

       
BigRed's avatar
BigRed
3 posts
16 years ago
BigRed's avatar BigRed

Good stuff - glad it worked for you.

Darrell twitter.com/darrell_wilson darrellwilson.co.uk

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.