Ckeditor Maximize as default

I am using ckeditor and need it to maximize when the page loads. Right now there is a maximize button but I do not want the user to have to click it to maxmize the screen.
brad0525Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Steve BinkCommented:
Try this:
CKEDITOR.on('instanceReady',
      function( evt )
      {
         var editor = evt.editor;
         editor.execCommand('maximize');
      });

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
brad0525Author Commented:
where should I place this code. Do I place it on the page with the textarea box..thanks
Steve BinkCommented:
Put in config.js, or whatever customized configuration file you are using.  It should run before you replace the text area control.
Steve BinkCommented:
FYI, that suggestion will affect *all* instances of ckeditor, on any page that loads that configuration file.  If you want it to just impact the single instance, you'll need to set the property after you use the manual .replace method.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.