Ticket #1607: 1607.patch
File 1607.patch, 3.5 KB (added by , 16 years ago) |
---|
-
editor/_source/classes/fckeditingarea.js
211 211 // Tell Gecko to use or not the <SPAN> tag for the bold, italic and underline. 212 212 try 213 213 { 214 oDoc.execCommand( 'styleWithCSS', false, FCKConfig.GeckoUseSPAN) ;214 oDoc.execCommand( 'styleWithCSS', false, false ) ; 215 215 } 216 216 catch (e) 217 217 { 218 218 // As evidenced here, useCSS is deprecated in favor of styleWithCSS: 219 219 // http://www.mozilla.org/editor/midas-spec.html 220 oDoc.execCommand( 'useCSS', false, !FCKConfig.GeckoUseSPAN) ;220 oDoc.execCommand( 'useCSS', false, true ) ; 221 221 } 222 222 223 223 // Analyzing Firefox 1.5 source code, it seams that there is support for a -
fckconfig.js
73 73 FCKConfig.FormatOutput = true ; 74 74 FCKConfig.FormatIndentator = ' ' ; 75 75 76 FCKConfig.GeckoUseSPAN = false ;77 76 FCKConfig.StartupFocus = false ; 78 77 FCKConfig.ForcePasteAsPlainText = false ; 79 78 FCKConfig.AutoDetectPasteFromWord = true ; // IE only. -
fckeditor.cfc
188 188 lConfigKeys = lConfigKeys & ",PreloadImages,PluginsPath,AutoDetectLanguage,DefaultLanguage,ContentLangDirection"; 189 189 lConfigKeys = lConfigKeys & ",ProcessHTMLEntities,IncludeLatinEntities,IncludeGreekEntities,ProcessNumericEntities,AdditionalNumericEntities"; 190 190 lConfigKeys = lConfigKeys & ",FillEmptyBlocks,FormatSource,FormatOutput,FormatIndentator"; 191 lConfigKeys = lConfigKeys & ", GeckoUseSPAN,StartupFocus,ForcePasteAsPlainText,AutoDetectPasteFromWord,ForceSimpleAmpersand";191 lConfigKeys = lConfigKeys & ",StartupFocus,ForcePasteAsPlainText,AutoDetectPasteFromWord,ForceSimpleAmpersand"; 192 192 lConfigKeys = lConfigKeys & ",TabSpaces,ShowBorders,SourcePopup,ToolbarStartExpanded,ToolbarCanCollapse"; 193 193 lConfigKeys = lConfigKeys & ",IgnoreEmptyParagraphValue,PreserveSessionOnFileBrowser,FloatingPanelsZIndex,TemplateReplaceAll,TemplateReplaceCheckbox"; 194 194 lConfigKeys = lConfigKeys & ",ToolbarLocation,ToolbarSets,EnterMode,ShiftEnterMode,Keystrokes"; -
fckeditor.cfm
95 95 lConfigKeys = lConfigKeys & ",PreloadImages,PluginsPath,AutoDetectLanguage,DefaultLanguage,ContentLangDirection"; 96 96 lConfigKeys = lConfigKeys & ",ProcessHTMLEntities,IncludeLatinEntities,IncludeGreekEntities,ProcessNumericEntities,AdditionalNumericEntities"; 97 97 lConfigKeys = lConfigKeys & ",FillEmptyBlocks,FormatSource,FormatOutput,FormatIndentator"; 98 lConfigKeys = lConfigKeys & ", GeckoUseSPAN,StartupFocus,ForcePasteAsPlainText,AutoDetectPasteFromWord,ForceSimpleAmpersand";98 lConfigKeys = lConfigKeys & ",StartupFocus,ForcePasteAsPlainText,AutoDetectPasteFromWord,ForceSimpleAmpersand"; 99 99 lConfigKeys = lConfigKeys & ",TabSpaces,ShowBorders,SourcePopup,ToolbarStartExpanded,ToolbarCanCollapse"; 100 100 lConfigKeys = lConfigKeys & ",IgnoreEmptyParagraphValue,PreserveSessionOnFileBrowser,FloatingPanelsZIndex,TemplateReplaceAll,TemplateReplaceCheckbox"; 101 101 lConfigKeys = lConfigKeys & ",ToolbarLocation,ToolbarSets,EnterMode,ShiftEnterMode,Keystrokes";