| Версия для печати темы
Нажмите сюда для просмотра этой темы в оригинальном формате |
| Форум программистов > JavaScript: Общие вопросы > срочно Не могу конвертировать pt в px в Tinymce |
| Автор: ruboy 9.4.2009, 08:33 |
| Народ спасите Не могу конвертировать pt в px в Tinymce Вроде все делаю как в мануале редактора Вот код <script language="javascript" type="text/javascript"> tinyMCE.init({ language : "en", mode : "textareas", theme : "advanced", plugins : "style,layer,table,advhr,advimage,advlink,filemanager,insertdatetime,media,searchreplace,paste,visualchars,nonbreakings", theme_advanced_buttons1_add_before : "", theme_advanced_buttons1_add : "fontselect, fontsizeselect", theme_advanced_buttons2_add : "separator,insertdate,inserttime,separator,forecolor,backcolor,advsearchreplace", theme_advanced_buttons2_add_before: "cut,copy,paste,pastetext,pasteword,separator,search,replace,separator", theme_advanced_buttons3_add_before : "tablecontrols,separator", theme_advanced_buttons3_add : "emotions,iespell,media,advhr,separator,ltr,rtl", theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,|,visualchars,nonbreaking", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left", theme_advanced_path_location : "bottom", // theme_advanced_font_sizes : "1,2,3,6,7", // theme_advanced_font_sizes :'11px=11px, 12px=12px, 14px=14px, 15px=15px, 16px=16px, 20px=20px, 24px=24px', theme_advanced_font_sizes : "11px,12px,14px,16px,18px,8pt,10pt,12pt,14pt,16pt", plugin_insertdate_dateFormat : "%Y-%m-%d", plugin_insertdate_timeFormat : "%H:%M:%S", extended_valid_elements : "hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]", content_css : "../admin/css/cms_area.css", theme_advanced_resize_horizontal : false, theme_advanced_resizing : true, nonbreaking_force_tab : true, apply_source_formatting : true, relative_urls : false, remove_script_host : false, width:'650px' }); </script> |