Home
last modified time | relevance | path

Searched refs:FCK (Results 1 – 25 of 85) sorted by relevance

1234

/plugin/wysiwyg/fckeditor/editor/_source/internals/
H A Dfck.js26 var FCK = class
127 FCK.Focus() ;
237 if ( FCK.XmlDeclaration && FCK.XmlDeclaration.length > 0 )
518 sHTML = FCK.TempBaseTag + FCK.GetXHTML() ;
736 FCK.Events = new FCKEvents( FCK ) ;
739 FCK.GetHTML = FCK.GetXHTML = FCK.GetData ;
742 FCK.SetHTML = FCK.SetData ;
745 FCK.InsertElementAndGetIt = FCK.CreateElement = FCK.InsertElement ;
804 FCK.EditorWindow = FCK.EditingArea.Window ;
805 FCK.EditorDocument = FCK.EditingArea.Document ;
[all …]
H A Dfck_ie.js30 if ( !FCK._BehaviorsStyle )
61 return FCK._BehaviorsStyle ;
68 FCK.Focus() ;
89 FCK.OnDoubleClick( FCK.EditorWindow.event.srcElement ) ;
100 if ( FCK.MouseDownFlag )
134 FCK.ContextMenu._InnerContextMenu.AttachToElement( FCK.EditorDocument.body ) ;
152 FCK.EditorWindow.focus() ;
216 FCK._ExecPaste = function()
219 if ( FCK._PasteIsRunning )
224 FCK.PasteAsPlainText() ;
[all …]
H A Dfck_gecko.js43 if ( FCK.MouseDownFlag )
45 FCK.MouseDownFlag = false ;
55 FCK.InsertHtml( text ) ;
58 FCK.PasteAsPlainText() ;
213 FCK._FillEmptyBlock( FCK.EditorDocument.body.firstChild ) ;
226 FCK.LastOnChangeTimer = window.setTimeout( FCK.ExecOnSelectionChange, 100 ) ;
292 FCK.ContextMenu._InnerContextMenu.SetMouseClickWindow( FCK.EditorWindow ) ;
293 FCK.ContextMenu._InnerContextMenu.AttachToElement( FCK.EditorDocument ) ;
310 FCK._BaseGetNamedCommandState = FCK.GetNamedCommandState ;
347 if ( FCK.Paste() )
[all …]
H A Dfckselection_ie.js31 var ieType = FCK.EditorDocument.selection.type ;
88 var doc = FCK.EditorDocument ;
103 FCK.Focus() ;
104 FCK.EditorDocument.selection.empty() ;
115 oRange = FCK.EditorDocument.body.createTextRange() ;
124 FCK.Focus() ;
138 if ( FCK.EditorDocument.selection.type == "Control" )
162 if ( ! FCK.EditorDocument )
165 if ( FCK.EditorDocument.selection.type == "Control" )
167 oRange = FCK.EditorDocument.selection.createRange() ;
[all …]
H A Dfckselection_gecko.js33 try { sel = FCK.EditorWindow.getSelection() ; } catch (e) {}
56 var selection = !!FCK.EditorWindow && FCK.EditorWindow.getSelection() ;
83 var oSel = FCK.EditorWindow.getSelection() ;
122 if ( ! FCK.EditorWindow )
128 var oSel = FCK.EditorWindow.getSelection() ;
143 var oRange = FCK.EditorDocument.createRange() ;
146 var oSel = FCK.EditorWindow.getSelection() ;
153 var oSel = FCK.EditorWindow.getSelection() ;
165 if ( ! oContainer && FCK.EditorWindow )
187 oContainer = FCK.EditorWindow.getSelection().getRangeAt(0).startContainer ;
[all …]
H A Dfckundo.js33 var range = new FCKDomRange( FCK.EditorWindow ) ;
46 var dirtyHtml = FCK.EditorDocument.body.innerHTML ;
58 var range = new FCKDomRange( FCK.EditorWindow ) ;
117 if ( FCK.EditMode != FCK_EDITMODE_WYSIWYG )
126 var sHtml = FCK.EditorDocument.body.innerHTML ;
154 FCK.Events.FireEvent( "OnSelectionChange" ) ;
181 FCK.Events.FireEvent( "OnSelectionChange" ) ;
192 FCK.Events.FireEvent( "OnSelectionChange" ) ;
207 FCK.SetInnerHtml( oData[1][1] ) ;
209 FCK.SetInnerHtml( oData[0] ) ;
[all …]
H A Dfcktoolbarset.js44 FCK.Events.AttachEvent( 'OnBlur', FCK_OnBlur ) ;
45 FCK.Events.AttachEvent( 'OnFocus', FCK_OnFocus ) ;
105 if ( FCK.IECleanup )
109 oToolbarSet.CurrentInstance = FCK ;
127 var oInstance = editorInstance || FCK ;
187 if ( FCK.IECleanup )
193 FCK.ToolbarSet.Expand() ;
198 FCK.ToolbarSet.Collapse() ;
303 if ( FCK.Status != FCK_STATUS_COMPLETE )
340 if ( FCK.Status != FCK_STATUS_COMPLETE )
[all …]
/plugin/wysiwyg/fckeditor/editor/_source/commandclasses/
H A Dfck_othercommands.js117 FCK.Preview() ;
134 var oForm = FCK.GetParentForm() ;
166 FCK.SetData( '' ) ;
168 FCK.Focus() ;
191 FCK.SwitchEditMode() ;
252 FCK.InsertElement( oFakeImage ) ;
281 FCK.ExecuteNamedCommand( this.Name ) ;
345 FCK.Paste() ;
367 FCK.InsertElement( 'hr' ) ;
407 FCK.Selection.Delete();
[all …]
H A Dfckstylecommand.js36 FCK.Styles.RemoveStyle( styleComboItem.Style ) ;
38 FCK.Styles.ApplyStyle( styleComboItem.Style ) ;
42 FCK.Focus() ;
43 FCK.Events.FireEvent( 'OnSelectionChange' ) ;
48 if ( !FCK.EditorDocument )
H A Dfckjustifycommands.js92 var range = new FCKDomRange( FCK.EditorWindow ) ;
145 FCK.Focus() ;
146 FCK.Events.FireEvent( 'OnSelectionChange' ) ;
152 if ( FCK.EditMode != FCK_EDITMODE_WYSIWYG || ! FCK.EditorWindow )
167 …currentAlign = FCK.EditorWindow.getComputedStyle( firstBlock, '' ).getPropertyValue( 'text-align' …
H A Dfckshowblocks.js40 var body = FCK.EditorDocument.body ;
47 FCK.Events.FireEvent( 'OnSelectionChange' ) ;
52 if ( FCK.EditMode != FCK_EDITMODE_WYSIWYG )
58 if ( /FCK__ShowBlocks(?:\s|$)/.test( FCK.EditorDocument.body.className ) )
/plugin/fckg/fckeditor/editor/plugins/range/
H A Dfckplugin.js5 FCK.breakDelObject = function(editor) {
12 FCK.breakDelObject.prototype.debug = function() {
14 var doc = oEditor.FCK.EditorDocument;
34 var doc = oEditor.FCK.EditorDocument;
48 var doc = oEditor.FCK.EditorDocument;
62 FCK.breakDelObject.getData= function(n) {
75 FCK.paraDelObject = function(editor) {
119 var doc = oEditor.FCK.EditorDocument;
133 FCK.paraDelObject.getData= function(n) {
147 FCK.rangeObject = function(editor) {
[all …]
/plugin/wysiwyg/fckeditor/editor/plugins/autogrow/
H A Dfckplugin.js29 var oInnerDoc = FCK.EditorDocument ;
35 iFrameHeight = FCK.EditorWindow.frameElement.offsetHeight ;
40 iFrameHeight = FCK.EditorWindow.innerHeight ;
69 FCK.AttachToOnSelectionChange( FCKAutoGrow_Check ) ;
73 if ( FCK.EditMode != FCK_EDITMODE_WYSIWYG )
76 FCK.EditorWindow.attachEvent( 'onscroll', FCKAutoGrow_Check ) ;
77 FCK.EditorDocument.attachEvent( 'onkeyup', FCKAutoGrow_Check ) ;
83 FCK.Events.AttachEvent( 'OnAfterSetHTML', FCKAutoGrow_SetListeners ) ;
92 FCK.Events.AttachEvent( 'OnStatusChange', FCKAutoGrow_CheckEditorStatus ) ;
/plugin/wysiwyg/fckeditor/editor/plugins/placeholder/
H A Dfckplugin.js40 var oSpan = FCK.InsertElement( 'span' ) ;
60 FCK.EditorWindow.event.returnValue = false ;
84 FCK.RegisterDoubleClickHandler( FCKPlaceholders.OnDoubleClick, 'SPAN' ) ;
89 var aSpans = FCK.EditorDocument.getElementsByTagName( 'SPAN' ) ;
104 if ( FCK.EditMode != FCK_EDITMODE_WYSIWYG )
107 var aPlaholders = FCK.EditorDocument.body.innerText.match( /\[\[[^\[\]]+\]\]/g ) ;
111 var oRange = FCK.EditorDocument.body.createTextRange() ;
127 if ( FCK.EditMode != FCK_EDITMODE_WYSIWYG )
130 …var oInteractor = FCK.EditorDocument.createTreeWalker( FCK.EditorDocument.body, NodeFilter.SHOW_TE…
151 var oSpan = FCK.EditorDocument.createElement( 'span' ) ;
[all …]
/plugin/fckg/fckeditor/editor/plugins/autogrow/
H A Dfckplugin.js75 var oInnerDoc = FCK.EditorDocument ;
82 iFrameHeight = FCK.EditorWindow.frameElement.offsetHeight ;
87 iFrameHeight = FCK.EditorWindow.innerHeight ;
98 if ( FCK.EditMode != FCK_EDITMODE_WYSIWYG )
101 FCK.EditorWindow.attachEvent( 'onscroll', FCKAutoGrow.Check ) ;
102 FCK.EditorDocument.attachEvent( 'onkeyup', FCKAutoGrow.Check ) ;
106 FCK.AttachToOnSelectionChange( FCKAutoGrow.Check ) ;
109 FCK.Events.AttachEvent( 'OnAfterSetHTML', FCKAutoGrow.SetListeners ) ;
111 FCK.Events.AttachEvent( 'OnStatusChange', FCKAutoGrow.CheckEditorStatus ) ;
/plugin/fckg/fckeditor/editor/dialog/fck_link/
H A Dfck_link.js27 var FCK = oEditor.FCK ; variable
34 FCK.dwiki_browser = 'url';
35 var DWIKI_User = FCK.dwiki_user;
40 var anteater = FCK.dwiki_anteater;
42 FCK.islocal_dwikibrowser = false;
509 if(FCK.screen_x && FCK.screen_y) {
510 oEditor.FCK.EditorDocument.parentWindow.scrollTo(FCK.screen_x,FCK.screen_y);
1169 if(FCK.screen_x && FCK.screen_y) {
1170 oEditor.FCK.EditorDocument.parentWindow.scrollTo(FCK.screen_x,FCK.screen_y);
1171 FCK.screen_x=null; FCK.screen_y=null;
[all …]
/plugin/wysiwyg/fckeditor/editor/plugins/dragresizetable/
H A Dfckplugin.js223 return FCKDragTableHandler._MouseFindHandler( FCK, evt ) ;
225 return FCKDragTableHandler._MouseDragHandler( FCK, evt ) ;
279 "MouseMoveListener" : function( FCK, evt ) argument
282 return FCKDragTableHandler._MouseFindHandler( FCK, evt ) ;
284 return FCKDragTableHandler._MouseDragHandler( FCK, evt ) ;
286 "_MouseFindHandler" : function( FCK, evt ) argument
288 if ( FCK.MouseDownFlag )
333 this._ShowResizeBar( FCK.EditorWindow,
363 this._ShowResizeBar( FCK.EditorWindow,
368 "_MouseDragHandler" : function( FCK, evt ) argument
[all …]
/plugin/fckg/fckeditor/editor/js/
H A Dfckeditorcode_ie.js32FCK={Name:FCKURLParams['InstanceName'],Status:0,EditMode:0,Toolbar:null,HasFocus:false,DataProcess… class
36FCK.Status!=2) return false;if (FCK.EditMode==0){switch (B){case 'Paste':return!FCK.Paste();case '…
37 FCK.Description="FCKeditor for Internet Explorer 5.5+";FCK._GetBehaviorsStyle=function(){if (!FCK._…
83 …te=function(){FCK.ExecuteNamedCommand(this.Name);};FCKNamedCommand.prototype.GetState=function(){i…
84FCK.Styles.RemoveStyle(B.Style);else FCK.Styles.ApplyStyle(B.Style);FCKUndo.SaveUndoStep();FCK.Foc…
86FCK.EditorDocument.body;if (A==1) B.className=B.className.replace(/(^| )FCK__ShowBlocks/g,'');else…
89 …cute=function(){FCK.PasteAsPlainText();};FCKPastePlainTextCommand.prototype.GetState=function(){if…
90 …{FCK.PasteFromWord();};FCKPasteWordCommand.prototype.GetState=function(){if (FCK.EditMode!=0||FCKC…
97 …KStyles.ApplyStyle(this.StyleName);FCK.Focus();FCK.Events.FireEvent('OnSelectionChange');},GetStat…
98 …function(){FCKStyles.RemoveAll();FCK.Focus();FCK.Events.FireEvent('OnSelectionChange');},GetState:…
[all …]
H A Dfckeditorcode_gecko.js31FCK={Name:FCKURLParams['InstanceName'],Status:0,EditMode:0,Toolbar:null,HasFocus:false,DataProcess… class
33 FCK.dialWidthVal = 525;
34 FCK.dialHeightVal=500;
35 FCK.Description="FCKeditor for Gecko Browsers";FCK.InitializeBehaviors=function(){if (window.onresi…
79 …te=function(){FCK.ExecuteNamedCommand(this.Name);};FCKNamedCommand.prototype.GetState=function(){i…
80FCK.Styles.RemoveStyle(B.Style);else FCK.Styles.ApplyStyle(B.Style);FCKUndo.SaveUndoStep();FCK.Foc…
82FCK.EditorDocument.body;if (A==1) B.className=B.className.replace(/(^| )FCK__ShowBlocks/g,'');else…
85 …cute=function(){FCK.PasteAsPlainText();};FCKPastePlainTextCommand.prototype.GetState=function(){if…
86 …{FCK.PasteFromWord();};FCKPasteWordCommand.prototype.GetState=function(){if (FCK.EditMode!=0||FCKC…
93 …KStyles.ApplyStyle(this.StyleName);FCK.Focus();FCK.Events.FireEvent('OnSelectionChange');},GetStat…
[all …]
/plugin/wysiwyg/fckeditor/editor/_source/
H A Dfckeditorapi.js131 FCKeditorAPI.__Instances[ FCK.Name ] = FCK ;
138 var oForm = FCK.GetParentForm() ;
143 FCKTools.AddEventListener( oForm, 'submit', FCK.UpdateLinkedField ) ;
161 delete FCKeditorAPI.__Instances[ FCK.Name ] ;
/plugin/wysiwyg/fckeditor/editor/js/
H A Dfckeditorcode_ie.js32FCK={Name:FCKURLParams['InstanceName'],Status:0,EditMode:0,Toolbar:null,HasFocus:false,DataProcess… class
33 FCK.Description="FCKeditor for Internet Explorer 5.5+";FCK._GetBehaviorsStyle=function(){if (!FCK._…
48FCK.EditorWindow);try{A.MoveToSelection();}catch (e){return null;};if (FCKBrowserInfo.IsIE){var B=…
64FCK.EditorDocument.selection.type;if (A=='Control'||A=='Text') return A;if (FCK.EditorDocument.sel…
69 ….prototype.Execute=function(){FCK.ExecuteNamedCommand(this.Name);};FCKNamedCommand.prototype.GetSt…
70FCK.Styles.RemoveStyle(B.Style);else FCK.Styles.ApplyStyle(B.Style);FCKUndo.SaveUndoStep();FCK.Foc…
71FCK.EditorDocument?0:-1;}};var FCKFontNameCommand=function(){};FCKFontNameCommand.prototype={Name:…
72FCK.EditorDocument.body;if (A==1) B.className=B.className.replace(/(^| )FCK__ShowBlocks/g,'');else…
75 …d.prototype.Execute=function(){FCK.PasteAsPlainText();};FCKPastePlainTextCommand.prototype.GetStat…
76 …nction(){FCK.PasteFromWord();};FCKPasteWordCommand.prototype.GetState=function(){if (FCKConfig.For…
[all …]
H A Dfckeditorcode_gecko.js31FCK={Name:FCKURLParams['InstanceName'],Status:0,EditMode:0,Toolbar:null,HasFocus:false,DataProcess… class
32 FCK.Description="FCKeditor for Gecko Browsers";FCK.InitializeBehaviors=function(){if (FCKBrowserInf…
47FCK.EditorWindow);try{A.MoveToSelection();}catch (e){return null;};if (FCKBrowserInfo.IsIE){var B=…
63FCK.EditorWindow.getSelection();} catch (e) {};if (B&&B.rangeCount==1){var C=B.getRangeAt(0);if (C…
68 ….prototype.Execute=function(){FCK.ExecuteNamedCommand(this.Name);};FCKNamedCommand.prototype.GetSt…
69FCK.Styles.RemoveStyle(B.Style);else FCK.Styles.ApplyStyle(B.Style);FCKUndo.SaveUndoStep();FCK.Foc…
70FCK.EditorDocument?0:-1;}};var FCKFontNameCommand=function(){};FCKFontNameCommand.prototype={Name:…
71FCK.EditorDocument.body;if (A==1) B.className=B.className.replace(/(^| )FCK__ShowBlocks/g,'');else…
74 …d.prototype.Execute=function(){FCK.PasteAsPlainText();};FCKPastePlainTextCommand.prototype.GetStat…
75 …nction(){FCK.PasteFromWord();};FCKPasteWordCommand.prototype.GetState=function(){if (FCKConfig.For…
[all …]
/plugin/fckg/fckeditor/editor/plugins/dragresizetable/
H A Dfckplugin.js223 return FCKDragTableHandler._MouseFindHandler( FCK, evt ) ;
225 return FCKDragTableHandler._MouseDragHandler( FCK, evt ) ;
279 "MouseMoveListener" : function( FCK, evt ) argument
282 return FCKDragTableHandler._MouseFindHandler( FCK, evt ) ;
284 return FCKDragTableHandler._MouseDragHandler( FCK, evt ) ;
286 "_MouseFindHandler" : function( FCK, evt ) argument
288 if ( FCK.MouseDownFlag )
333 this._ShowResizeBar( FCK.EditorWindow,
363 this._ShowResizeBar( FCK.EditorWindow,
368 "_MouseDragHandler" : function( FCK, evt ) argument
[all …]
/plugin/fckg/fckeditor/editor/filemanager/browser/default/js/
H A Dlanguage.js6 if(opener && opener.FCK.Language) {
8 opener.FCK.Language.TranslatePage(document);
12 if (parent && parent.opener.FCK.Language) {
14 parent.opener.FCK.Language.TranslatePage(document);
/plugin/fckg/fckeditor/editor/dialog/common/
H A Dfck_dialog_common.js244 oNewNode = oEditor.FCK.EditorDocument.createElement( sbHTML.join('') ) ;
253 if ( oEditor.FCK.Selection.SelectionData )
257 var oSel = oEditor.FCK.EditorDocument.selection ;
258 …oEditor.FCK.Selection.SelectionData = oSel.createRange() ; // Now oSel.type will be 'None' reflect…
261 oNewNode = oEditor.FCK.InsertElement( oNewNode ) ;
265 if ( oEditor.FCK.Selection.SelectionData )
267 var range = oEditor.FCK.EditorDocument.body.createControlRange() ;
269 oEditor.FCK.Selection.SelectionData = range ;
274 oNewNode = oEditor.FCK.InsertElement( nodeName ) ;

1234