Width of MicroTiny in Admin panel Topic is solved

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
Gust
New Member
New Member
Posts: 2
Joined: Sun Oct 22, 2023 4:41 pm

Width of MicroTiny in Admin panel

Post by Gust »

I would like to set a max width for the MicroTiny editor in the Admin panel of CMSMS, so it is easier for editors (with no html or css knowledge) to see how the content would be displayed on the webpage.

Is there any way to do that? I've searched the forum and found 'profiling' for the editor on TinyMCE is available, but I think that's more for adding toolbars etc. I don't want to overwhelm my users with lots of functions (which has a good chance of breaking layout), I am happy with the tools they have in MicroTiny.

Just want to set a size for the MicroTiny editor so it resemble the width of the actual layout on the frontend.

Thanks in advance.
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1629
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: Width of MicroTiny in Admin panel

Post by DIGI3 »

You can add custom css to the admin theme quite easily, here's a tutorial:
https://cmscanbesimple.org/blog/customi ... king-files

It can be a bit tricky to get the IDs/classes right for MicroTiny but if you use your browser's inspector tool you should be able to figure it out.
Not getting the answer you need? CMSMS support options
Gust
New Member
New Member
Posts: 2
Joined: Sun Oct 22, 2023 4:41 pm

Re: Width of MicroTiny in Admin panel

Post by Gust »

Thanks, worked like a charm, contents of style.css is simple enough:

Code: Select all

.pageinput textarea {
  width: 842px;
  height: 200px;
}
Post Reply

Return to “Modules/Add-Ons”