Changeset 1771

Show
Ignore:
Timestamp:
10/24/06 15:58:17 (2 years ago)
Author:
uta
Message:

#197

Files:

Legend:

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

    r1762 r1771  
    2020                switch (command) { 
    2121                        case 'mceSourceCode': 
    22                                 tinyMCE.execInstanceCommand(editor_id, 'mceInsertContent', false, '<code style="border-style: dotted; border-width: 1px; display: block; margin: 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; 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

    r1762 r1771  
    2929                switch (command) { 
    3030                        case 'mceSourceCode': 
    31                                 tinyMCE.execInstanceCommand(editor_id, 'mceInsertContent', false, '<code style="border-style: dotted; border-width: 1px; display: block; margin: 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; white-space: pre;">' + tinyMCE.selectedInstance.selection.getSelectedHTML() + '</code>'); 
    3232                                tinyMCE.triggerNodeChange(); 
    3333                                return true;