Changeset 132

Show
Ignore:
Timestamp:
03/07/05 17:43:24 (4 years ago)
Author:
dez
Message:

Corrected the width of the editor textarea - in Firefox on WinXP (and probably others) it was exceeding the width the design allows.

Also changed the buttons that tinymce displays to more appropriate ones (we don't need the four justify buttons for example). Included the charmap and code buttons so you can use non-standard characters and view the HTML source of what you're writing.

Also added the fullscreen plugin and a button for it, so the reduction in size of the editor will be less of an issue.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • admin.lib.php

    r130 r132  
    442442                echo "</p>\n"; 
    443443                echo "<p>\n"; 
    444                 echo "<textarea name=\"body\" id=\"body\" cols=\"75\" rows=\"30\" tabindex=\"3\">" . (($show) ? br2nl($row['body']) : "") . "</textarea>\n"; 
     444                echo "<textarea name=\"body\" id=\"body\" cols=\"65\" rows=\"30\" tabindex=\"3\">" . (($show) ? br2nl($row['body']) : "") . "</textarea>\n"; 
    445445                echo "</p>\n"; 
    446446                echo "<p>\n"; 
  • tinymce-config.js

    r131 r132  
    22        mode : "textareas", 
    33        theme : "advanced", 
    4         theme_advanced_buttons1 : "bold,italic,underline,separator,strikethrough,justifyleft,justifycenter,justifyright, justifyfull,bullist,numlist,undo,redo,link,unlink", 
     4        plugins : "fullscreen", 
     5        theme_advanced_buttons1 : "bold,italic,underline,separator,sup,sub,separator,bullist,numlist,outdent,indent,separator,undo,redo,link,unlink,anchor,separator,charmap,code,fullscreen", 
    56        theme_advanced_buttons2 : "", 
    67        theme_advanced_buttons3 : "",