I'm seeing this with the most recent CivicSpace distribution (0.8.6) and I didn't see this reported anywhere.
I took the tarball, expanded, and ran the installer under Windows XP. Went through the install steps, answered the questions, enabled the modules, set a profile for TinyMCE, and went to create content. I wanted to enable the advanced options in TinyMCE by default, so I Created a profile that included all roles.
The TinyMCE window does not take up the entire TEXTAREA that it is supposed to show in. It shows centered, with a large grey border around it. The area inside of the TinyMCE window is larger than the pane it is showing in, so when you start typing, a scrollbar shows. See the attached screenshot.
I'm using Firefox 1.5.0.1.
In IE 6.0SP2 the problem isn't quite as bad. The editor window still doesn't expand to fill the entire textarea, but at least it doesn't have that wacky scrollbar.
You can see this behaviour in the stock distribution hosted at OpenSourceCMS.org:
http://www.opensourcecms.com/index.php?option=content&task=view&id=510&I...
It does the same thing. I tried playing with setting the editor width option, but it still doesn't behave properly. Also, when setting the default editor to advanced the editor window doesn't even provide room for content when creating events (presumably the toolbars are taking up all of the space). This just doesn't seem to play well with others.
Comments
Comment #1
ajwwong CreditAttribution: ajwwong commentedthanks for the wonderful module.
I just wanted to report the same issue -- so this problem does exist and is legitimate.
Basically: When I use the Firefox browser, I get a scrollbar underneath the text area -- so I cannot read the entire text that I have typed in at one time.
This problem disappears using Internet Explorer.
You can see this on my web site, if you try and add a comment to the front page or any blog posting (you actually have to register to add comments):
www.ithou.org
FYI, this is what I'm using:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
And the interesting thing is that the scroll bar only shows up *after*you click on the tinymce text editing box and attempt to enter text. (Before you enter in any text, there is no scrollbar.)
Good luck!
Albert Wong
www.ithou.org
Comment #2
Permanently Undecided CreditAttribution: Permanently Undecided commentedI can confirm this issue using Safari 2.0 and Camino 1.0 as well.
Comment #3
desm0n CreditAttribution: desm0n commentedsame issues here on 4.7.0. Content is centred in firefox on occassion and quite often the tinymce editor needs to be resized by the user before its usuable.
Is there a default size that can be set ?
Comment #4
krypton1 CreditAttribution: krypton1 commentedWhat a shame....such a great module and this bug makes it unusable! I hope this bug gets some attention soon.
Comment #5
krypton1 CreditAttribution: krypton1 commentedI just discovered something, when I switch over to the default theme (pushbutton) tinymce displays correctly. It looks like I spoke too soon, the problem is with the theme perhaps being fixed width or whatever, but its def not a tinymce problem.
Comment #6
veelo CreditAttribution: veelo commentedBut if you drag the area a little bigger or smaller, the editor suddenly fills it correctly. I am not sure the theme is the only thing to blame then.
Bastiaan Veelo.
Comment #7
darko.ilic CreditAttribution: darko.ilic commentedThat's because the textarea on submit event page has only 5 rows (that's drupal's form default).
I have found a solution that works for me.
Just open event.module file, jump to the function event_form_alter (line 1795 in drupal 4.7) and add the following line at the beginning:
$form['body_filter']['body']['#rows'] = 20;
Comment #8
vincetingey CreditAttribution: vincetingey commentedPossible Fix
I believe this problem is related to your theme body tag css. TinyMCE uses the body tag properties to display the editable region inside itself. Try setting the body css width property to 100% in your theme style.css. If this screws up your theme layout just assign the current body css to an identifier (ie #main_body) then assign that id to your body tag in your theme.
Seems to work ok for me now after doing this in firefox and ie.
Comment #9
vincetingey CreditAttribution: vincetingey commentedAnother Setting is Needed to fix this.
If your are using a PHP Template Theme you can put the following function in your template.php file (create one if you don't have one) to set the TinyMCE Init parameters. Setting the width parameter to 100% using this function should fix the problem in conjunction with setting the body tag width to 100% as I described above OR you can set the body tag width in the TinyMCE Theme CSS in "modules/tinymce/tinymce/jscripts/tinymce/themes/advanced/editor_content.css" .
There are a ton of other parameters you can set. Please refer to this document for them.
Hope this helps 8-)
-------------------------
Vince
Comment #10
ajwwong CreditAttribution: ajwwong commentedVince... this is friggin' awesome. Thanks.
Perfect fix.
Albert
www.ithou.org
Comment #11
xamox CreditAttribution: xamox commentedWell, vince's fix kind of works for me. I was having the problem of tinyMCE spanning really far in Firefox but not in IE(yeah I know this is a first for me, normally it's the other way around). So I added the template code discussed and it kind of fixed the problem in firefox, although it messed up Internet Explorer. So I added the additional code to try and remedy the problem:
Now if you look at my attached screen shots it works fine for IE now, but is still kind of messed up for Firefox, and I'm not quite sure why, I set it to 1px because that is the lowest I could make it and have it work. Before tinyMCE was spanning like a 1000+ pixels wide and I have no idea why.
This is on firefox 1.5.0.6.
Comment #12
xamox CreditAttribution: xamox commentedMy IE screenshot....
Comment #13
GiorgosKI used to have TinyMCE problems but it turned out that I had too many plugins installed that where screwing things up. Used a fresh install of Mozilla (since I really liked my plugins) and there where no problems with TinyMCE, you may won't to have this in mind it might have something to do with some of the problems.
Comment #14
xamox CreditAttribution: xamox commentedWell after scouring the forums for a while, messing with my CSS, trying to override template functions, setting the toolbar to the bottom I didn't have much luck. Then I decided to turn off resizing right in the tinyMCE's settings via drupal module configuration and IT WORKED! I removed all my CSS stuff and template function overrides and it is still working fine. So my guess is, that it's something messed up with that code.
Comment #15
ceardach CreditAttribution: ceardach commentedI'm having a similar problem, but effects only Windows 2000 - it works perfectly fine in Windows XP.
In Win2k Firefox 1.5, the editor is wider than the screen, with the same padding effect explained by the OP.
In Win 2k IE 6.0, the editor is wider than the screen, totally breaks the template, with the same padding effect. Everything returns to normal as soon as rich-text is disabled.
Yet... in WinXP Firefox 1.5 and IE 7.0, everything works perfectly as expected.
I have tried all suggestions in this thread, and it's had no effect.
I have noticed that it doesn't behave like that on my "super simple" profile (which just has bold, italic, lists and links). I'll now go through the pain staking process of finding out which buttons and plugins are causing the problem.
Comment #16
xamox CreditAttribution: xamox commentedI have since moved to FCKeditor(http://drupal.org/project/fckeditor) and found it way better than tinyMCE. It has solved all my tinyMCE problems (this, formatting problems, image insertion, etc). I suggest maybe giving it a whirl and seeing if it fits your needs.
Comment #17
Veggieryan CreditAttribution: Veggieryan commented#9 by vince works for me. THANKS!
Comment #18
kreynen CreditAttribution: kreynen commentedhttp://drupal.org/node/130305
Comment #19
OliverColeman CreditAttribution: OliverColeman commentedin #9 worked for me when the tinymce text field seemed to be defaulting to the minimum size in fieldsets that were collapsed by default.
Comment #20
mrtoner CreditAttribution: mrtoner commented#8 by Vince fixed the horizontal scrollbar for me. I assigned an ID to the body tag in page.tpl.php and changed the corresponding CSS selector in style.css.
Marking this as active for two reasons: 1) it should not be marked as a duplicate of a summary issue and 2) it contains good information for fixing this problem, which will not be seen on a normal search if marked as a duplicate.
Comment #21
Cherrr CreditAttribution: Cherrr commentedI have changed Editor CSS то TinyMCE Default in module settings from administration page, and all works fine, no more horizontal scroll bar
Comment #22
vincetingey CreditAttribution: vincetingey commentedSeems like my fix worked for everyone. I'm closing this ticket to get it out of my issues list :-)