Changeset 1885 for vendor/tinymce-2.0.6.1_customized
- Timestamp:
- 11/14/06 21:36:23 (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
r1834 r1885 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-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>'); 23 23 tinyMCE.triggerNodeChange(); 24 24 return true; vendor/tinymce-2.0.6.1_customized/tiny_mce/plugins/sourcecode/editor_plugin_src.js
r1834 r1885 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-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>'); 32 32 tinyMCE.triggerNodeChange(); 33 33 return true;
