Page 1 of 1

Width of MicroTiny in Admin panel

Posted: Sun Oct 22, 2023 4:50 pm
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.

Re: Width of MicroTiny in Admin panel

Posted: Sun Oct 22, 2023 5:08 pm
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.

Re: Width of MicroTiny in Admin panel

Posted: Sat Oct 28, 2023 3:15 pm
by Gust
Thanks, worked like a charm, contents of style.css is simple enough:

Code: Select all

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