Changeset 671
- Timestamp:
- 06/17/10 00:14:30 (2 years ago)
- Location:
- trunk/src/wymeditor
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wymeditor/jquery.wymeditor.js
r669 r671 95 95 UL,OL,LI - HTML elements string representation. 96 96 CLASS,HREF,SRC, 97 TITLE, ALT- HTML attributes string representation.97 TITLE,REL,ALT - HTML attributes string representation. 98 98 DIALOG_LINK - A link dialog type. 99 99 DIALOG_IMAGE - An image dialog type. … … 184 184 SRC : "src", 185 185 TITLE : "title", 186 REL : "rel", 186 187 ALT : "alt", 187 188 DIALOG_LINK : "Link", … … 494 495 srcSelector: ".wym_src", 495 496 titleSelector: ".wym_title", 497 relSelector: ".wym_rel", 496 498 altSelector: ".wym_alt", 497 499 textSelector: ".wym_text", … … 561 563 + "<label>{Title}</label>" 562 564 + "<input type='text' class='wym_title' value='' size='40' />" 565 + "</div>" 566 + "<div class='row'>" 567 + "<label>{Relationship}</label>" 568 + "<input type='text' class='wym_rel' value='' size='40' />" 563 569 + "</div>" 564 570 + "<div class='row row-indent'>" … … 1477 1483 jQuery(wym._options.srcSelector).val(jQuery(selected).attr(WYMeditor.SRC)); 1478 1484 jQuery(wym._options.titleSelector).val(jQuery(selected).attr(WYMeditor.TITLE)); 1485 jQuery(wym._options.relSelector).val(jQuery(selected).attr(WYMeditor.REL)); 1479 1486 jQuery(wym._options.altSelector).val(jQuery(selected).attr(WYMeditor.ALT)); 1480 1487 } … … 1505 1512 1506 1513 link.attr(WYMeditor.HREF, sUrl) 1507 .attr(WYMeditor.TITLE, jQuery(wym._options.titleSelector).val()); 1514 .attr(WYMeditor.TITLE, jQuery(wym._options.titleSelector).val()) 1515 .attr(WYMeditor.REL, jQuery(wym._options.relSelector).val()); 1508 1516 1509 1517 } … … 1916 1924 "3":"hreflang", 1917 1925 "4":"name", 1918 " rel":/^(alternate|designates|stylesheet|start|next|prev|contents|index|glossary|copyright|chapter|section|subsection|appendix|help|bookmark| |shortcut|icon)+$/,1919 " rev":/^(alternate|designates|stylesheet|start|next|prev|contents|index|glossary|copyright|chapter|section|subsection|appendix|help|bookmark| |shortcut|icon)+$/,1926 "5":"rel", 1927 "6":"rev", 1920 1928 "shape":/^(rect|rectangle|circ|circle|poly|polygon)$/, 1921 " 5":"type"1929 "7":"type" 1922 1930 } 1923 1931 }, -
trunk/src/wymeditor/lang/en.js
r508 r671 27 27 URL: 'URL', 28 28 Title: 'Title', 29 Relationship: 'Relationship', 29 30 Alternative_Text: 'Alternative text', 30 31 Caption: 'Caption', -
trunk/src/wymeditor/lang/sv.js
r508 r671 28 28 URL: 'URL', 29 29 Title: 'Titel', 30 Relationship: 'Relation', 30 31 Alternative_Text: 'Alternativ text', 31 32 Caption: 'Ãverskrift',
Note: See TracChangeset
for help on using the changeset viewer.