Changeset 532
- Timestamp:
- 09/06/08 22:09:44 (3 months ago)
- Files:
-
- trunk/src/wymeditor/jquery.wymeditor.explorer.js (modified) (1 diff)
- trunk/src/wymeditor/jquery.wymeditor.js (modified) (5 diffs)
- trunk/src/wymeditor/jquery.wymeditor.mozilla.js (modified) (1 diff)
- trunk/src/wymeditor/jquery.wymeditor.opera.js (modified) (1 diff)
- trunk/src/wymeditor/jquery.wymeditor.safari.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/wymeditor/jquery.wymeditor.explorer.js
r530 r532 42 42 43 43 this._doc.title = this._wym._index; 44 45 //set the text direction 46 jQuery('html', this._doc).attr('dir', this._options.direction); 44 47 45 48 //init html value trunk/src/wymeditor/jquery.wymeditor.js
r531 r532 49 49 IFRAME_DEFAULT - The iframe's default base path. 50 50 JQUERY_PATH - A string replaced by the computed jQuery path. 51 DIRECTION - A string replaced by the text direction (rtl or ltr). 51 52 LOGO - A string replaced by WYMeditor logo. 52 53 TOOLS - A string replaced by the toolbar's HTML. … … 121 122 IFRAME_DEFAULT : "iframe/default/", 122 123 JQUERY_PATH : "{Wym_Jquery_Path}", 124 DIRECTION : "{Wym_Direction}", 123 125 LOGO : "{Wym_Logo}", 124 126 TOOLS : "{Wym_Tools}", … … 327 329 lang: "en", 328 330 331 direction: "ltr", 332 329 333 boxHtml: "<div class='wym_box'>" 330 334 + "<div class='wym_area_top'>" … … 498 502 dialogHtml: "<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'" 499 503 + " 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>" 500 + "<html><head>" 504 + "<html dir='" 505 + WYMeditor.DIRECTION 506 + "'><head>" 501 507 + "<link rel='stylesheet' type='text/css' media='screen'" 502 508 + " href='" … … 1148 1154 var dialogHtml = this._options.dialogHtml; 1149 1155 dialogHtml = h.replaceAll(dialogHtml, WYMeditor.BASE_PATH, this._options.basePath); 1156 dialogHtml = h.replaceAll(dialogHtml, WYMeditor.DIRECTION, this._options.direction); 1150 1157 dialogHtml = h.replaceAll(dialogHtml, WYMeditor.CSS_PATH, this._options.skinPath + WYMeditor.SKINS_DEFAULT_CSS); 1151 1158 dialogHtml = h.replaceAll(dialogHtml, WYMeditor.WYM_PATH, this._options.wymPath); trunk/src/wymeditor/jquery.wymeditor.mozilla.js
r530 r532 40 40 41 41 this._doc.title = this._wym._index; 42 43 //set the text direction 44 jQuery('html', this._doc).attr('dir', this._options.direction); 42 45 43 46 //init html value trunk/src/wymeditor/jquery.wymeditor.opera.js
r530 r532 36 36 37 37 this._doc.title = this._wym._index; 38 39 //set the text direction 40 jQuery('html', this._doc).attr('dir', this._options.direction); 38 41 39 42 //init designMode trunk/src/wymeditor/jquery.wymeditor.safari.js
r530 r532 39 39 this._doc.title = this._wym._index; 40 40 41 //set the text direction 42 jQuery('html', this._doc).attr('dir', this._options.direction); 43 41 44 //init designMode 42 45 this._doc.designMode = "on";