PDA

View Full Version : change ckeditor max size?


IggyP
02-14-2016, 01:27 AM
i tried this code in additional.css but didnt seem to work


#cke_1_contents { max-height: 300px; }


i have some long posts that i want to be able to keep the adv editor accessible

anyone know how it can work?

thank you
iggy

IggyP
02-14-2016, 01:29 AM
hmm well nevermind i guess...i notice it works, just not for posts that i created before adding the code

DemOnstar
02-14-2016, 08:01 AM
I had the same problem but made it a fixed element that on clicking the editor icon, becomes separate from the editor toolbar and places itself at suitable height from the bottom of the screen..
Works a treat for me.

Try it if you want. . .

/* Editor buttons fixed*/
.b-editor .cke_top {
padding-right: 32px;
position: fixed;
top: 390px;
z-index: 100;
}

I tried to extend it by putting the smilie and attachment buttons in there but couldn't figure that bit out. .

I use it in one style only specifically for the writing of longer text. .