Jump to content
WebFlake
  • 0

CKEditor Changes - Maximum Height and default language?


Caleeco

Question

Hello, 

I recently created a test IPB 4.1.18.2 Forum using the awesome resources available here. I have been doing some testing, and ther'e a couple things I would love to be able to change

1. Maximum height (see example), I run a programming website so a lot of lines get pasted in the CODE boxes. Is there a way to limit the height of these? and make them scrollable? 

2. Is there a way to set the default display from "HTML" to "No Syntax Highlighted"?

Your help would be much appreciated

Thanks

Caleeco

 

Screen.PNG

Edited by Caleeco
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Ok so after some trial and error, I can get the default language to be "No Syntax Highlight" by editing the code template.

Then adding the following code to Custom.css restricts the height (and adds scroll bar)

pre.ipsCode{
  max-height:500px;
}

Caleeco

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...