| | | |  |  | |  |
04.09.2004, 07:00
|
#1 (permalink)
| | Mamber
Join Date: Aug 2004
Posts: 81
| Altering the width of the TinyMCE content editor? Hi,
I have TinyMCE set as my HTML editor. When I click 'Submit News' on the User Menu, I get a TinyMCE UI displayed in the content area. However, it's width is destroying my page (because it is greater than the width of the content area).
I can't find anywhere in the code (or its css file) to modify this value! When I click Images, Publishing or Metadata it shrinks to a smaller width which fits into my overall page design.
Thanks. |
| |
19.09.2004, 11:24
|
#2 (permalink)
| | Mamber
Join Date: Apr 2004
Posts: 97
| Re: Altering the width of the TinyMCE content editor? I would like to know how to change the width of TinyMCE aswell  |
| |
19.09.2004, 12:14
|
#3 (permalink)
| | Professional Mamber
Join Date: Apr 2004 Location: Marikina, Manila, Philippines
Posts: 776
| Re: Altering the width of the TinyMCE content editor? components/com_content/content.html.php PHP Code: // parameters : areaname, content, hidden field, width, height, rows, cols
editorArea( 'editor1', $row->introtext , 'introtext', '500', '200', '45', '5' ) ;
PHP Code: // parameters : areaname, content, hidden field, width, height, rows, cols
editorArea( 'editor2', $row->fulltext , 'fulltext', '500', '200', '45', '5' ) ;
You need to change the width and cols settings.
This will affect the size of ALL editors not just TinyMCE
__________________ Joomla! Core Team Member
Software Coding & Design - Stability Team Leader www.joomla.org Former Mambo Core Team Member |
| |
19.09.2004, 12:28
|
#4 (permalink)
| | Mamber
Join Date: Apr 2004
Posts: 97
| Re: Altering the width of the TinyMCE content editor? thank you  |
| |
19.09.2004, 17:59
|
#5 (permalink)
| | Mamber
Join Date: Aug 2004
Posts: 81
| Re: Altering the width of the TinyMCE content editor? THANKS. No wonder I couldn't find this... I was fiddling around in the folders and files for each individual editor :P |
| |
26.01.2005, 18:19
|
#6 (permalink)
| | Baby Mamber
Join Date: Dec 2004
Posts: 8
| Re: Altering the width of the TinyMCE content editor? Quote: |
Originally Posted by stingrey components/com_content/content.html.php PHP Code: // parameters : areaname, content, hidden field, width, height, rows, cols
editorArea( 'editor1', $row->introtext , 'introtext', '500', '200', '45', '5' ) ;
PHP Code: // parameters : areaname, content, hidden field, width, height, rows, cols
editorArea( 'editor2', $row->fulltext , 'fulltext', '500', '200', '45', '5' ) ;
You need to change the width and cols settings.
This will affect the size of ALL editors not just TinyMCE |
hello.........i cant seem to make this work.....
either its tinymce or htmlarea....changing those fields doesnt bring any results to the size of the editor.....
is there any other things u can suggest me do......
for tinymce, i tried changing the width field on mambots/editors/tinymce.php
but resulted in errors...........
well........looks like i have to go with the normal forms..... |
| |
17.05.2005, 14:42
|
#7 (permalink)
| | Baby Mamber
Join Date: Apr 2004
Posts: 3
| Re: Altering the width of the TinyMCE content editor? I think this is somewhere in your template, I'm using fckeditor because it let's you alter the width in the mambot parameters. When using 100% (default) it gives the same result as with TinyMCE. I altered this to 550 and I have a fine working and good visable editor.
Grtz,
Arnoud |
| | | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT +2. The time now is 02:02. | | | |