Changeset 1771
- Timestamp:
- 10/24/06 15:58:17 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
vendor/tinymce-2.0.6.1_customized/tiny_mce/plugins/sourcecode/editor_plugin.js
r1762 r1771 20 20 switch (command) { 21 21 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>'); 23 23 tinyMCE.triggerNodeChange(); 24 24 return true; vendor/tinymce-2.0.6.1_customized/tiny_mce/plugins/sourcecode/editor_plugin_src.js
r1762 r1771 29 29 switch (command) { 30 30 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>'); 32 32 tinyMCE.triggerNodeChange(); 33 33 return true;
