Show
Ignore:
Timestamp:
11/14/06 21:36:23 (2 years ago)
Author:
uta
Message:

#224

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • vendor/tinymce-2.0.6.1_customized/tiny_mce/plugins/sourcecode/editor_plugin.js

    r1834 r1885  
    2020                switch (command) { 
    2121                        case 'mceSourceCode': 
    22                                 tinyMCE.execInstanceCommand(editor_id, 'mceInsertContent', false, '<code style="border-style: dotted; border-width: 1px; display: block; margin-left: 3px; margin-right: 3px; white-space: pre;">' + tinyMCE.selectedInstance.selection.getSelectedHTML() + '</code>'); 
     22                                tinyMCE.execInstanceCommand(editor_id, 'mceInsertContent', false, '<code style="border-style: dotted; border-width: 1px; display: block; margin-left: 3px; margin-right: 3px; overflow: auto; white-space: pre;">' + tinyMCE.selectedInstance.selection.getSelectedHTML() + '</code>'); 
    2323                                tinyMCE.triggerNodeChange(); 
    2424                                return true; 
  • vendor/tinymce-2.0.6.1_customized/tiny_mce/plugins/sourcecode/editor_plugin_src.js

    r1834 r1885  
    2929                switch (command) { 
    3030                        case 'mceSourceCode': 
    31                                 tinyMCE.execInstanceCommand(editor_id, 'mceInsertContent', false, '<code style="border-style: dotted; border-width: 1px; display: block; margin-left: 3px; margin-right: 3px; white-space: pre;">' + tinyMCE.selectedInstance.selection.getSelectedHTML() + '</code>'); 
     31                                tinyMCE.execInstanceCommand(editor_id, 'mceInsertContent', false, '<code style="border-style: dotted; border-width: 1px; display: block; margin-left: 3px; margin-right: 3px; overflow: auto; white-space: pre;">' + tinyMCE.selectedInstance.selection.getSelectedHTML() + '</code>'); 
    3232                                tinyMCE.triggerNodeChange(); 
    3333                                return true;