Changeset 6295
- Timestamp:
- Apr 4, 2008, 2:23:20 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE/branches/work/ebihara/prj_deco_diary/public_html/js/tiny_mce/plugins/openpne/editor_plugin.js
r6254 r6295 30 30 }); 31 31 ed.addCommand('mceOpenPNE_op_large', function() { 32 tinyMCE.execCommand("Fontsize", false, 7);32 tinyMCE.execCommand("Fontsize", false, 5); 33 33 }); 34 34 ed.addCommand('mceOpenPNE_op_small', function() { 35 tinyMCE.execCommand("Fontsize", false, 2);35 tinyMCE.execCommand("Fontsize", false, 1); 36 36 }); 37 37 ed.addCommand('mceOpenPNE_op_color', function() { … … 107 107 var color = targetObj.getAttribute('color'); 108 108 109 if (size == ' 7') {109 if (size == '5') { 110 110 tagname = 'op:large'; 111 } else if (size == ' 2') {111 } else if (size == '1') { 112 112 tagname = 'op:small'; 113 113 } … … 179 179 if (tagname == 'large') { 180 180 tagname = 'font'; 181 opt = ' size=" 7"';181 opt = ' size="5"'; 182 182 } 183 183 184 184 if (tagname == 'small') { 185 185 tagname = 'font'; 186 opt = ' size=" 2"';186 opt = ' size="1"'; 187 187 } 188 188
Note: See TracChangeset
for help on using the changeset viewer.