MyBB Community Forums

Full Version: Where is this defined?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want to change the text size for the mycode, where can I find it?

I mean this:
[size=x-small]
[size=x-large]
Honestly I have no idea, but it may be this, found in editor.js,

// An array of font sizes to be shown.
		this.sizes = new Object();
		this.sizes["xx-small"] = this.options.lang.size_xx_small;
		this.sizes["x-small"] = this.options.lang.size_x_small;
		this.sizes["small"] = this.options.lang.size_small;
		this.sizes["medium"] = this.options.lang.size_medium;
		this.sizes["large"] = this.options.lang.size_large;
		this.sizes["x-large"] = this.options.lang.size_x_large;
		this.sizes["xx-large"] = this.options.lang.size_xx_large;

I assume there's something in another file which defines how large or small each value is.
Yes, I found something at class_parser.php, but can't figure out how it define the style for each one.

Edit: It looks like xx-large is a valid css value for the font-size property _._
bump~
Really appreciate any help Smile