Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Need help fixing text editor on MyBB

So this is what the text editor looks like

https://puu.sh/6WKh3.png

I have tried everything to fix it. I have followed every tutorial and nothing works.

Someone please help.

Thanks
Donations are Appreciated
1G9cABh6atX9zJQ81aPe8UqGeV2oQN9tX
This isn't on HF is it? Is this a forum that you own?
If so, I would go and inspect the element in your browser, then look through the styling in the myBB theme, and see what you can find for that element. If you could puush that image and post it, I could tell you what the problem could be. :)
(Feb 14, 2014 11:30 PM)brewery Wrote:  This isn't on HF is it? Is this a forum that you own?
If so, I would go and inspect the element in your browser, then look through the styling in the myBB theme, and see what you can find for that element. If you could puush that image and post it, I could tell you what the problem could be. :)

I own the forum.

www.vectorgaming.org

And I did post an image.
Donations are Appreciated
1G9cABh6atX9zJQ81aPe8UqGeV2oQN9tX
I was referring to the image which would feature some CSS styling of the textarea element inside your myBB theme.
(Feb 14, 2014 11:49 PM)brewery Wrote:  I was referring to the image which would feature some CSS styling of the textarea element inside your myBB theme.

Okay. I will PM you to see if I can get this fixed.
Donations are Appreciated
1G9cABh6atX9zJQ81aPe8UqGeV2oQN9tX
You need to change the doc width of your forum, my browser zoom is 100% which is normal but your site http://prntscr.com/2smxbd
This might sound weird, But have you tried resizing the text box using the little icon in the bottom corner?

https://gyazo.com/2d4969d8b704205a2244756246acd742

Also could you PM link to your forum so I can test if it works fine for me.
Go to your control panel or your FTP and open (jscripts/editor.js)

Find:
PHP Code

<?php 
PHP Code
:
      
// Determine the overall height and width - messy, but works
      
w = oldTextarea.getDimensions().width+"px";
      if(!
w || parseInt(w) < 400)
      {
      
w = "400px";
      }
      if(
this.options && this.options.height)
      {
      
h = this.options.height;
      }
      else if(
oldTextarea.offsetHeight)
      {
      
h = oldTextarea.offsetHeight+"px";
      }
      else if(
oldTextarea.clientHeight)
      {
      
h = oldTextarea.clientHeight+"px";
      }
      else if(
oldTextarea.style.height)
      {
      
h = oldTextarea.style.height;
      }
      else
      {
      
h = "400px";
      }
      
this.editor.style.width = w;
      
this.editor.style.height = h; 

Replace With:
PHP Code

<?php 
PHP Code
:
      
// Determine the overall height and width - messy, but works
      
w = "550px";
      
h = "300px";
      
this.editor.style.width = w;
      
this.editor.style.height = h; 

Find:
PHP Code

<?php 
PHP Code
:
      
textInput.style.height = parseInt(areaContainer.style.height)+"px";
      
textInput.style.width = parseInt(areaContainer.style.width)+"px"; 

Replace With:
PHP Code

<?php 
PHP Code
:
      
textInput.style.height = "229px";
      
textInput.style.width = "544px"; 


Possibly Related Threads...
Thread / Author Replies Views Last Post
by Nemo5Jun 8, 2025 08:32 AM 1 151 Jun 8, 2025 08:32 AM
Last Post: ro0ti
by ZamperFeb 27, 2020 01:43 PM 1 94 Feb 27, 2020 01:43 PM
Last Post: TeslaArc
[MyBB] by Mr. Money™Sep 22, 2015 04:14 PM 7 224 Sep 22, 2015 04:14 PM
Last Post: Acr0nym