Changeset 5869 for trunk/TinyMCEPlugin
- Timestamp:
- 12/29/09 08:16:25 (2 years ago)
- Location:
- trunk/TinyMCEPlugin
- Files:
-
- 13 edited
-
. (modified) (1 prop)
-
data/System (modified) (1 prop)
-
data/System/TinyMCEPlugin.txt (modified) (2 diffs, 1 prop)
-
lib/Foswiki/Plugins/TinyMCEPlugin.pm (modified) (2 diffs)
-
pub/System/TinyMCEPlugin/foswiki.js (modified) (1 prop)
-
pub/System/TinyMCEPlugin/foswiki_src.js (modified) (1 prop)
-
pub/System/TinyMCEPlugin/foswiki_tiny.js (modified) (1 prop)
-
pub/System/TinyMCEPlugin/foswiki_tiny_src.js (modified) (1 prop)
-
pub/System/TinyMCEPlugin/tinymce/jscripts/tiny_mce/plugins/foswikibuttons (modified) (1 prop)
-
pub/System/TinyMCEPlugin/tinymce/jscripts/tiny_mce/plugins/foswikibuttons/attach_error_autoinc.htm (modified) (1 prop)
-
pub/System/TinyMCEPlugin/tinymce/jscripts/tiny_mce/plugins/foswikibuttons/editor_plugin.js (modified) (1 diff)
-
pub/System/TinyMCEPlugin/tinymce/jscripts/tiny_mce/plugins/foswikibuttons/editor_plugin_src.js (modified) (1 diff)
-
pub/System/TinyMCEPlugin/tinymce/jscripts/tiny_mce/plugins/foswikiimage (modified) (1 prop)
Legend:
- Unmodified
- Added
- Removed
-
trunk/TinyMCEPlugin
- Property svn:mergeinfo changed
/branches/Release01x00/TinyMCEPlugin merged: 5747,5860,5866
- Property svn:mergeinfo changed
-
trunk/TinyMCEPlugin/data/System
- Property svn:mergeinfo changed
/branches/Release01x00/TinyMCEPlugin/data/System merged: 5747,5860,5866
- Property svn:mergeinfo changed
-
trunk/TinyMCEPlugin/data/System/TinyMCEPlugin.txt
- Property svn:mergeinfo changed
/branches/Release01x00/TinyMCEPlugin/data/System/TinyMCEPlugin.txt merged: 5747,5860 /trunk/TinyMCEPlugin/data/System/TinyMCEPlugin.txt removed
r5750 r5869 147 147 148 148 ---++ Known Issues 149 The Foswiki:Community.WysiwygTaskTeam is working hard on enhancements and reliability improvements to this plugin, unfortunately the following issues remain outstanding in this current release:150 149 151 150 * Applying formats such as Headings, Verbatim, Normal, etc: 152 * Not working in Safari and Google Chrome browsers unless the line to be formatted is selected by triple-clicking first153 * Not working in Microsoft Internet Explorer 6151 * In Microsoft Internet Explorer 6, not working at all. 152 * In Safari and Google Chrome, only works once (must move the cursor out of the formatted region and back again for each subsequent format change). 154 153 * "Normal" format depends on WysiwygPlugin flattening <div> tags 155 154 156 If you are affected, please check regularly for updates at Foswiki:Extensions.TinyMCEPlugin.155 Check regularly at Foswiki:Extensions.TinyMCEPlugin for updates. 157 156 158 157 ---++ Plugin Info … … 167 166 | Release: | %$RELEASE% | 168 167 | Change History: | <!-- versions below in reverse order --> | 169 | 07Dec 2009 | Foswikitask:Item2447: Fix unable to apply "Normal" format in some browsers (notes added to System topic)<br/> Foswikitask:Item1462: Block attachments to unsaved AUTOINC topics |168 | 29 Dec 2009 | Foswikitask:Item2447: Fix unable to apply "Normal" format in some browsers (notes added to System topic)<br/> Foswikitask:Item1462: Block attachments to unsaved AUTOINC topics | 170 169 | 25 Nov 2009 | Foswikitask:Item2412: Inserting images - fixed a problem where it wasn't easy (impossible unless > 1 attachments) to select the first image in the attachment list; improved layout of dialog window where preview obscures insert/cancel buttons. | 171 170 | 09 Nov 2009 | Foswikitask:Item2341: Added blockquote button and rearranged toolbars slightly; cleaned up System topic | - Property svn:mergeinfo changed
-
trunk/TinyMCEPlugin/lib/Foswiki/Plugins/TinyMCEPlugin.pm
r5746 r5869 19 19 20 20 our $VERSION = '$Rev$'; 21 our $RELEASE = '2 5 Nov2009';21 our $RELEASE = '29 Dec 2009'; 22 22 our $SHORTDESCRIPTION = 'Integration of the Tiny MCE WYSIWYG Editor'; 23 23 our $NO_PREFS_IN_TOPIC = 1; … … 48 48 theme_advanced_toolbar_align : "left", 49 49 foswikibuttons_formats : [ 50 { name: "Normal", el: "div", style: null },50 { name: "Normal", el: 'div', style: null }, 51 51 { name: "Heading 1", el: "h1", style: null }, 52 52 { name: "Heading 2", el: "h2", style: null }, -
trunk/TinyMCEPlugin/pub/System/TinyMCEPlugin/foswiki.js
- Property svn:mergeinfo changed
/branches/Release01x00/TinyMCEPlugin/pub/System/TinyMCEPlugin/foswiki.js merged: 5710-5748,5750-5868
- Property svn:mergeinfo changed
-
trunk/TinyMCEPlugin/pub/System/TinyMCEPlugin/foswiki_src.js
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/TinyMCEPlugin/pub/System/TinyMCEPlugin/foswiki_tiny.js
- Property svn:mergeinfo changed
/branches/Release01x00/TinyMCEPlugin/pub/System/TinyMCEPlugin/foswiki_tiny.js merged: 5710-5748,5750-5868
- Property svn:mergeinfo changed
-
trunk/TinyMCEPlugin/pub/System/TinyMCEPlugin/foswiki_tiny_src.js
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/TinyMCEPlugin/pub/System/TinyMCEPlugin/tinymce/jscripts/tiny_mce/plugins/foswikibuttons
- Property svn:mergeinfo changed
/branches/Release01x00/TinyMCEPlugin/pub/System/TinyMCEPlugin/tinymce/jscripts/tiny_mce/plugins/foswikibuttons merged: 5747,5860
- Property svn:mergeinfo changed
-
trunk/TinyMCEPlugin/pub/System/TinyMCEPlugin/tinymce/jscripts/tiny_mce/plugins/foswikibuttons/attach_error_autoinc.htm
- Property svn:mergeinfo changed
-
trunk/TinyMCEPlugin/pub/System/TinyMCEPlugin/tinymce/jscripts/tiny_mce/plugins/foswikibuttons/editor_plugin.js
r5710 r5869 3 3 return;ed.windowManager.open({location:false,menubar:false,toolbar:false,status:false,url:url+'/colours.htm',width:240,height:140,movable:true,popup_css:false,inline:true},{plugin_url:url});});ed.addButton('colour',{title:'foswikibuttons.colour_desc',cmd:'foswikibuttonsColour',image:url+'/img/colour.gif'});ed.addCommand('foswikibuttonsAttach',function(){var htmpath='/attach.htm',htmheight=250;if(null!==FoswikiTiny.foswikiVars.TOPIC.match(/(X{10}|AUTOINC[0-9]+)/)){htmpath='/attach_error_autoinc.htm',htmheight=125;} 4 4 ed.windowManager.open({location:false,menubar:false,toolbar:false,status:false,url:url+htmpath,width:350,height:htmheight,movable:true,inline:true},{plugin_url:url});});ed.addButton('attach',{title:'foswikibuttons.attach_desc',cmd:'foswikibuttonsAttach',image:url+'/img/attach.gif'});ed.addCommand('foswikibuttonsHide',function(){if(FoswikiTiny.saveEnabled){if(ed.getParam('fullscreen_is_enabled')){ed.onGetContent.add(function(){tinymce.DOM.win.setTimeout(function(){var e=tinyMCE.activeEditor;tinyMCE.execCommand("mceToggleEditor",true,e.id);FoswikiTiny.switchToRaw(e);},10);});ed.execCommand('mceFullScreen');} 5 else{tinyMCE.execCommand("mceToggleEditor",true,ed.id);FoswikiTiny.switchToRaw(ed);}}});ed.addButton('hide',{title:'foswikibuttons.hide_desc',cmd:'foswikibuttonsHide',image:url+'/img/hide.gif'});ed.addCommand('foswikibuttonsFormat',function(ui,fn){var format=null;for(var i=0;i<ed.fw_formats.length;i++){if(ed.fw_formats[i].name==fn){format=ed.fw_formats[i];break;}} 6 if(format.el!=null){var fmt=format.el;if(fmt.length) 7 fmt='<'+fmt+'>';ed.execCommand('FormatBlock',false,fmt);if(format.el==''){var elm=ed.selection.getNode();ed.execCommand('removeformat',false,elm);}} 8 if(format.style!=null){ed.execCommand('mceSetCSSClass',false,format.style);} 5 else{tinyMCE.execCommand("mceToggleEditor",true,ed.id);FoswikiTiny.switchToRaw(ed);}}});ed.addButton('hide',{title:'foswikibuttons.hide_desc',cmd:'foswikibuttonsHide',image:url+'/img/hide.gif'});ed.addCommand('foswikibuttonsFormat',function(ui,fn){var format=null;for(var i=0;i<ed.fw_formats.length;i++){if(ed.fw_formats[i].name===fn){format=ed.fw_formats[i];break;}} 6 if(format.el!==null){var fmt=format.el;ed.execCommand('FormatBlock',false,fmt);} 7 if(format.style!==null){ed.execCommand('mceSetCSSClass',false,format.style);} 9 8 ed.nodeChanged();});ed.onNodeChange.add(this._nodeChange,this);},getInfo:function(){return{longname:'Foswiki Buttons Plugin',author:'Crawford Currie',authorurl:'http://c-dot.co.uk',infourl:'http://c-dot.co.uk',version:2};},createControl:function(n,cm){if(n=='foswikiformat'){var ed=tinyMCE.activeEditor;var m=cm.createListBox(ed.id+'_'+n,{title:'Format',onselect:function(format){ed.execCommand('foswikibuttonsFormat',false,format);}});var formats=ed.getParam("foswikibuttons_formats");for(var i=0;i<formats.length;i++){m.add(formats[i].name,formats[i].name);} 10 9 m.selectByIndex(0);ed.fw_lb=m;return m;} -
trunk/TinyMCEPlugin/pub/System/TinyMCEPlugin/tinymce/jscripts/tiny_mce/plugins/foswikibuttons/editor_plugin_src.js
r5710 r5869 133 133 var format = null; 134 134 for (var i = 0; i < ed.fw_formats.length; i++) { 135 if (ed.fw_formats[i].name == fn) {135 if (ed.fw_formats[i].name === fn) { 136 136 format = ed.fw_formats[i]; 137 137 break; 138 138 } 139 139 } 140 if (format.el != null) { 141 var fmt = format.el; 142 if (fmt.length) 143 fmt = '<' + fmt + '>'; 144 // SMELL: MIDAS command 145 ed.execCommand('FormatBlock', false, fmt); 146 if (format.el == '') { 140 if (format.el !== null) { 141 ed.execCommand('FormatBlock', false, format.el); 142 /* Item2447: We apply a <div> instead of null element 143 if (format.el === '') { 147 144 var elm = ed.selection.getNode(); 148 145 // SMELL: MIDAS command 149 146 ed.execCommand('removeformat', false, elm); 150 } 151 } 152 if (format.style != null) {147 }*/ 148 } 149 if (format.style !== null) { 153 150 // element is additionally styled 154 151 ed.execCommand('mceSetCSSClass', false, -
trunk/TinyMCEPlugin/pub/System/TinyMCEPlugin/tinymce/jscripts/tiny_mce/plugins/foswikiimage
- Property svn:mergeinfo changed (with no actual effect on merging)
Note: See TracChangeset
for help on using the changeset viewer.
