ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 13555


Ignore:
Timestamp:
Jul 6, 2010, 10:09:02 PM (8 years ago)
Author:
ShogoKawahara
Message:

#3743: IEで文字装飾プレビューモードで、傾斜設定が反映されない問題の修正 (2.14.x)

Location:
OpenPNE/branches/stable-2.14.x/public_html/js
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/stable-2.14.x/public_html/js/pne_decoration.js

    r11968 r13555  
    44if(editor.isHidden()&&previewmode_checked){editor.show();document.getElementById('mce_editor_buttonmenu').style.display="none";}else if(!editor.isHidden()&&textmode_checked){editor.hide();document.getElementById('mce_editor_buttonmenu').style.display="block";}}
    55function pne_mce_editor_init()
    6 {tinyMCE.init({mode:"textareas",theme:"advanced",editor_selector:"mceEditor_dummy_selector",plugins:"openpne",theme_advanced_toolbar_location:"top",theme_advanced_toolbar_align:"left",theme_advanced_buttons1:"op_b,op_u,op_s,op_i,op_large,op_small,op_color,op_image,op_emoji_docomo,op_emoji_au,op_emoji_softbank,op_cmd",theme_advanced_buttons2:"",theme_advanced_buttons3:"",valid_elements:"b/strong,u,s/strike,i,font[color|size],br",forced_root_block:false,force_p_newlines:false,force_br_newlines:true,inline_styles:false,language:"ja",entity_encoding:"raw",remove_linebreaks:false,custom_undo_redo_levels:0,custom_undo_redo:false});var textmode_checkbox=document.getElementById("mce_editor_mode_changer_1");var previewmode_checkbox=document.getElementById("mce_editor_mode_changer_2");if(previewmode_checkbox.checked){textmode_checkbox.checked=true;previewmode_checkbox.checked=false;}}
     6{tinyMCE.init({mode:"textareas",theme:"advanced",editor_selector:"mceEditor_dummy_selector",plugins:"openpne",theme_advanced_toolbar_location:"top",theme_advanced_toolbar_align:"left",theme_advanced_buttons1:"op_b,op_u,op_s,op_i,op_large,op_small,op_color,op_image,op_emoji_docomo,op_emoji_au,op_emoji_softbank,op_cmd",theme_advanced_buttons2:"",theme_advanced_buttons3:"",valid_elements:"b/strong,u,s/strike,i/em,font[color|size],br",forced_root_block:false,force_p_newlines:false,force_br_newlines:true,inline_styles:false,language:"ja",entity_encoding:"raw",remove_linebreaks:false,custom_undo_redo_levels:0,custom_undo_redo:false});var textmode_checkbox=document.getElementById("mce_editor_mode_changer_1");var previewmode_checkbox=document.getElementById("mce_editor_mode_changer_2");if(previewmode_checkbox.checked){textmode_checkbox.checked=true;previewmode_checkbox.checked=false;}}
    77function pne_mce_insert_tagname(id,tagname,opt)
    88{var opt=opt||"";var elm=document.getElementById(id);if(tagname=="op:color"&&!opt){pne_mce_show_color_table(id,tagname);return;}
  • OpenPNE/branches/stable-2.14.x/public_html/js/pne_decoration.js.src

    r11968 r13555  
    3232        theme_advanced_buttons2 : "",
    3333        theme_advanced_buttons3 : "",
    34         valid_elements : "b/strong,u,s/strike,i,font[color|size],br",
     34        valid_elements : "b/strong,u,s/strike,i/em,font[color|size],br",
    3535        forced_root_block : false,
    3636        force_p_newlines : false,
Note: See TracChangeset for help on using the changeset viewer.