diff --git a/public/images/wymeditor/skins/refinery/text_indent.png b/public/images/wymeditor/skins/refinery/text_indent.png new file mode 100644 index 0000000000..9364532344 Binary files /dev/null and b/public/images/wymeditor/skins/refinery/text_indent.png differ diff --git a/public/images/wymeditor/skins/refinery/text_indent_remove.png b/public/images/wymeditor/skins/refinery/text_indent_remove.png new file mode 100644 index 0000000000..1651b074eb Binary files /dev/null and b/public/images/wymeditor/skins/refinery/text_indent_remove.png differ diff --git a/public/javascripts/refinery/boot_wym.js b/public/javascripts/refinery/boot_wym.js index 11337a217b..9a00860c11 100755 --- a/public/javascripts/refinery/boot_wym.js +++ b/public/javascripts/refinery/boot_wym.js @@ -15,6 +15,10 @@ var wymeditor_boot_options = $.extend({ ,{'name': 'Italic', 'title': 'Emphasis', 'css': 'wym_tools_emphasis'} ,{'name': 'InsertOrderedList', 'title': 'Ordered_List', 'css': 'wym_tools_ordered_list'} ,{'name': 'InsertUnorderedList', 'title': 'Unordered_List', 'css': 'wym_tools_unordered_list'} + /*,{'name': 'Indent', 'title': 'Indent', 'css': 'wym_tools_indent'} + ,{'name': 'Outdent', 'title': 'Outdent', 'css': 'wym_tools_outdent'} + ,{'name': 'Undo', 'title': 'Undo', 'css': 'wym_tools_undo'} + ,{'name': 'Redo', 'title': 'Redo', 'css': 'wym_tools_redo'}*/ ,{'name': 'CreateLink', 'title': 'Link', 'css': 'wym_tools_link'} ,{'name': 'Unlink', 'title': 'Unlink', 'css': 'wym_tools_unlink'} ,{'name': 'InsertImage', 'title': 'Image', 'css': 'wym_tools_image'} diff --git a/public/javascripts/wymeditor/jquery.refinery.wymeditor.js b/public/javascripts/wymeditor/jquery.refinery.wymeditor.js index 50ca85c7a5..7b01b330a0 100755 --- a/public/javascripts/wymeditor/jquery.refinery.wymeditor.js +++ b/public/javascripts/wymeditor/jquery.refinery.wymeditor.js @@ -1,6 +1,6 @@ /* * WYMeditor : what you see is What You Mean web-based editor - * Copyright (c) 2008 Jean-Francois Hovinne, http://www.wymeditor.org/ + * Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/ * Dual licensed under the MIT (MIT-license.txt) * and GPL (GPL-license.txt) licenses. * @@ -19,7 +19,7 @@ * Scott Lewis (lewiscot a-t gmail dotcom) * Bermi Ferrer (wymeditor a-t bermi dotorg) * Daniel Reszka (d.reszka a-t wymeditor dotorg) - * Jonatan Lundin (jonatan.lundin _at_ gmail.com) + * Jonatan Lundin (jonatan.lundin a-t gmail dotcom) */ /* @@ -117,7 +117,7 @@ $.extend(WYMeditor, { */ - VERSION : "0.5-b2-refinery", + VERSION : "0.5-rc1-refinery", INSTANCES : [], STRINGS : [], SKINS : [], @@ -454,11 +454,11 @@ $.fn.wymeditor = function(options) { + WYMeditor.CLASSES_ITEMS + "", - classesItemHtml: "
  • " - + WYMeditor.CLASS_TITLE - + "
  • ", + classesItemHtml: "
  • " + + "" + + WYMeditor.CLASS_TITLE + + "" + +"
  • ", classesItems: [], @@ -514,32 +514,22 @@ $.fn.wymeditor = function(options) { updateEvent: "click", dialogFeatures: { - width: 560 + width: 560 , height: 300 } + , dialogFeaturesPreview: "menubar=no,titlebar=no,toolbar=no,resizable=no,scrollbars=yes,width=560,height=300,top=0,left=0" + , dialogHtml: "" - + "" - + "" - + "" - + WYMeditor.DIALOG_TITLE - + "" - + "" - + "" + + "" + + "" + + "" + + "" + WYMeditor.DIALOG_TITLE + "" + + "" + + "" + "" - + WYMeditor.DIALOG_BODY + + WYMeditor.DIALOG_BODY + "", dialogLinkHtml: "