![]() |
# 1 |
חסום
|
שאלה בקשר לעורך טקסט tinymce
שלום לכולם,
התקנתי עורך טקסט tinymce על מערכת מסוימת והבעיה היא שזה קודם משמאל לימין ואני רוצה לעשות שזה יכתוב מימין לשמאל. אני יודע שצריך להתעסק שם עם אחד מקבצי ה JS ולערוך. אבל רציתי לדעת עם איזה קובץ בדיוק.. תודה לכולם ושבוע טוב ![]() |
![]() |
![]() |
# 2 |
משתמש - היכל התהילה
|
לא חייבים לערוך קובץ,אפשר לקבוע את זה בהגדרות של האיתחול של העורך
http://wiki.moxiecode.com/index.php/...directionality
__________________
קו ישר, כי אפשר גם אחרת |
![]() |
![]() |
# 3 |
חסום
|
תודה רבה בניה, אבל באיזה קובץ אני מכניס את זה?
|
![]() |
![]() |
# 4 |
חבר וותיק
|
שאתה שם את הקוד JS בעמוד אתה משנה לrtl
HTML קוד:
<script language="javascript" type="text/javascript" src="jscripts/tiny_mce/tiny_mce.js"></script> <script language="javascript" type="text/javascript"> tinyMCE.init({ mode : "textareas", theme : "advanced", language: "he", plugins : "safari,spellchecker,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,pagebreak,imagemanager,filemanager", theme_advanced_buttons1_add_before : "save,newdocument,separator", theme_advanced_buttons1_add : "fontselect,fontsizeselect", theme_advanced_buttons2_add : "separator,insertdate,inserttime,preview,separator,forecolor,backcolor", 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,print,separator,rtl,rtl,separator,fullscreen", theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,spellchecker,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,blockquote,pagebreak,|,insertfile,insertimage", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "right", theme_advanced_statusbar_location : "bottom", content_css : "/example_data/example_full.css", plugin_insertdate_dateFormat : "%Y-%m-%d", plugin_insertdate_timeFormat : "%H:%M:%S", external_link_list_url : "example_data/example_link_list.js", external_image_list_url : "example_data/example_image_list.js", flash_external_list_url : "example_data/example_flash_list.js", template_external_list_url : "example_data/example_template_list.js", theme_advanced_resize_horizontal : false, directionality : "rtl", theme_advanced_resizing : true, apply_source_formatting : true, spellchecker_languages : "+English=he,Danish=da,Dutch=nl,Finnish=fi,French=fr,German=de,Italian=it,Polish=pl,Portuguese=pt,Spanish=es,Swedish=sv" }); function fileBrowserCallBack(field_name, url, type, win) { // This is where you insert your custom filebrowser logic alert("Filebrowser callback: field_name: " + field_name + ", url: " + url + ", type: " + type); // Insert new URL, this would normaly be done in a popup win.document.forms[0].elements[field_name].value = "someurl.htm"; } </script> וגם את textarea אתה עושה rtl HTML קוד:
<textarea name="name" dir="rtl" rows="10" cols="10"></textarea> בהצלחה ! |
![]() |
![]() |
# 5 |
חסום
|
תודה רבה, כבר הסתדרתי ופשוט שכחתי לעדכן.
שוב תודה! |
![]() |
![]() |
חברים פעילים הצופים באשכול זה: 1 (0 חברים ו- 1 אורחים) | |
|
|