Home
last modified time | relevance | path

Searched refs:FCKDomTools (Results 1 – 25 of 31) sorted by relevance

12

/plugin/wysiwyg/fckeditor/editor/_source/classes/
H A Dfckstyle.js186 && !FCKDomTools.CheckIsEmptyElement( pathElement,
591 FCKDomTools.RemoveAttribute( element, 'style' ) ;
635 if ( !FCKDomTools.HasAttributes( element ) )
642 FCKDomTools.RemoveNode( element, true ) ;
768 FCKDomTools.MoveChildren( block, newBlock ) ;
771 FCKDomTools.RemoveNode( block ) ;
985 FCKDomTools.RemoveNode( startSibling ) ;
994 FCKDomTools.RemoveNode( startSibling ) ;
1043 FCKDomTools.MoveChildren( sibling, element ) ;
1044 FCKDomTools.RemoveNode( sibling ) ;
[all …]
H A Dfckenterkey.js238 var oNestedList = FCKDomTools.GetLastChild( previous, ['UL','OL'] ) ;
242 previous = FCKDomTools.GetLastChild( oNestedList, 'LI' ) ;
243 oNestedList = FCKDomTools.GetLastChild( previous, ['UL','OL'] ) ;
262 FCKDomTools.RemoveNode( previous ) ;
268 FCKDomTools.RemoveNode( currentBlock ) ;
279 FCKDomTools.LTrimNode( currentBlock ) ;
280 FCKDomTools.RTrimNode( previous ) ;
295 FCKDomTools.MoveChildren( currentBlock, previous ) ;
440 eNewBlock = FCKDomTools.CloneElement( ePreviousBlock ) ;
447 eNewBlock = FCKDomTools.CloneElement( eNextBlock ) ;
[all …]
H A Dfckw3crange.js108 this.setStart( refNode.parentNode, FCKDomTools.GetIndexOf( refNode ) + 1 ) ;
113 this.setStart( refNode.parentNode, FCKDomTools.GetIndexOf( refNode ) ) ;
118 this.setEnd( refNode.parentNode, FCKDomTools.GetIndexOf( refNode ) + 1 ) ;
123 this.setEnd( refNode.parentNode, FCKDomTools.GetIndexOf( refNode ) ) ;
163 FCKDomTools.InsertAfterNode( startContainer, newNode ) ;
240 endNode = FCKDomTools.InsertAfterNode( endNode.lastChild, this._Document.createTextNode('') ) ;
280 var startParents = FCKDomTools.GetParents( startNode ) ;
281 var endParents = FCKDomTools.GetParents( endNode ) ;
421 var endIndex = FCKDomTools.GetIndexOf( topEnd ) ;
H A Dfckdocumentfragment_ie.js40 FCKDomTools.MoveChildren( this.RootNode, targetNode ) ;
47 FCKDomTools.MoveChildren( eTmpDiv, this.RootNode ) ;
56 FCKDomTools.InsertAfterNode( existingNode, eRoot.removeChild( eLast ) ) ;
H A Dfckdomrange_gecko.js91 domRange.setStart( startNode.parentNode, FCKDomTools.GetIndexOf( startNode ) ) ;
92 FCKDomTools.RemoveNode( startNode ) ;
96 domRange.setEnd( endNode.parentNode, FCKDomTools.GetIndexOf( endNode ) ) ;
97 FCKDomTools.RemoveNode( endNode ) ;
H A Dfckdomrangeiterator.js210 currentNode = FCKDomTools.GetNextSourceNode( currentNode, continueFromSibling, null, lastNode ) ;
240 FCKDomTools.TrimNode( block ) ;
260 FCKDomTools.TrimNode( block ) ;
280 …this._NextNode = block == lastNode ? null : FCKDomTools.GetNextSourceNode( range.EndNode, true, nu…
302 …this._NextNode = ( isLast || block == lastNode ) ? null : FCKDomTools.GetNextSourceNode( block, tr…
H A Dfckdomrange.js171 FCKDomTools.TrimNode( eToolDiv ) ;
204 FCKDomTools.LTrimNode( eToolDiv ) ;
237 FCKDomTools.TrimNode( eToolDiv ) ;
355 FCKDomTools.RemoveNode( eStartSpan ) ;
363 FCKDomTools.RemoveNode( eEndSpan ) ;
399 …bookmark.Start = FCKDomTools.GetNodeAddress( this._Range.startContainer, true ).concat( bookmark.S…
400 …bookmark.End = FCKDomTools.GetNodeAddress( this._Range.endContainer, true ).concat( bookmark.End )…
408 …var curEnd = FCKDomTools.GetNodeFromAddress( this.Window.document, bookmark.End.slice( 0, -1 ), tr…
591 oNode = FCKDomTools.GetPreviousSourceNode( lastNode, true ) ;
714 FCKDomTools.InsertAfterNode( eStartBlock, eEndBlock ) ;
[all …]
H A Dfckdomrange_ie.js47 this._Range.setStart( eMarkerStart.parentNode, FCKDomTools.GetIndexOf( eMarkerStart ) ) ;
51 this._Range.setEnd( eMarkerEnd.parentNode, FCKDomTools.GetIndexOf( eMarkerEnd ) ) ;
156 FCKDomTools.RemoveNode( dummySpan ) ;
H A Dfckpanel.js51 FCKDomTools.SetElementStyles( oIFrame,
135 FCKDomTools.SetElementStyles( eMainNode,
171 FCKDomTools.SetElementStyles( eMainNode,
229 FCKDomTools.SetElementStyles( this._IFrame,
H A Dfckdocumentfragment_gecko.js44 FCKDomTools.InsertAfterNode( existingNode, this.RootNode ) ;
/plugin/wysiwyg/fckeditor/editor/_source/internals/
H A Dfcklisthandler.js41 var eChildList = FCKDomTools.GetFirstChild( listItem, ['UL','OL'] ) ;
51 FCKDomTools.RemoveNode( eChildList ) ;
67 FCKDomTools.RemoveNode( eSibling, true ) ;
90 FCKDomTools.InsertAfterNode( eParent, eParent.removeChild( listItem ) ) ;
98 FCKDomTools.InsertAfterNode( eParent, eNextList ) ;
102 FCKDomTools.MoveChildren( eParent.removeChild( listItem ), eBlock ) ;
103 FCKDomTools.InsertAfterNode( eParent, eBlock ) ;
112 FCKDomTools.InsertAfterNode( eBlock, FCKTools.CreateBogusBR( oDocument ) ) ;
114 FCKDomTools.RemoveNode( eBlock, true ) ;
119 FCKDomTools.RemoveNode( eParent, true ) ;
[all …]
H A Dfckstyles.js176 FCKDomTools.BreakParent( startNode, pathElement, range ) ;
194 FCKDomTools.BreakParent( endNode, pathElement, range ) ;
198 var currentNode = FCKDomTools.GetNextSourceNode( startNode, true, 1 ) ;
208 var nextNode = FCKDomTools.GetNextSourceNode( currentNode, false, 1 ) ;
212 FCKDomTools.RemoveNode( currentNode, true ) ;
H A Dfck.js154 FCKDomTools.TrimNode( oBody ) ;
193 FCKDomTools.TrimNode( oNewBlock ) ;
201 FCKDomTools.TrimNode( oNewBlock ) ;
400 FCKDomTools.PaddingNode = null ;
594 …var next = FCKDomTools.GetNextSourceElement( element, false, null, [ 'hr','br','param','img','area…
782 FCKDomTools.EnforcePaddingNode( FCK.EditorDocument, FCKConfig.EnterMode ) ;
784 if ( ! FCKBrowserInfo.IsIE && FCKDomTools.PaddingNode )
792 range.selectNodeContents( FCKDomTools.PaddingNode ) ;
H A Dfckxhtml.js30 FCKDomTools.CheckAndRemovePaddingNode( node.ownerDocument, FCKConfig.EnterMode ) ;
96 FCKDomTools.EnforcePaddingNode( FCKTools.GetElementDocument( node ), FCKConfig.EnterMode ) ;
140 FCKDomTools.TrimNode( xmlNode ) ;
/plugin/wysiwyg/fckeditor/editor/_source/commandclasses/
H A Dfcklistcommands.js68 FCKDomTools.TrimNode( doc.body ) ;
119 FCKDomTools.SetElementMarker( markerObj, el, '_FCK_ListGroupObject', groupObj ) ;
136 FCKDomTools.SetElementMarker( markerObj, root, '_FCK_ListGroupObject', groupObj ) ;
229 FCKDomTools.ClearAllMarkers( markerObj ) ;
244 var listArray = FCKDomTools.ListToArray( groupObj.root, markerObj ) ;
253 FCKDomTools.SetElementMarker( markerObj, itemNode, '_FCK_ListItem_Processed', true ) ;
261 var newList = FCKDomTools.ArrayToList( listArray, markerObj ) ;
291 commonParent = FCKDomTools.GetCommonParents( commonParent, contents[i].parentNode ).pop() ;
334 var listArray = FCKDomTools.ListToArray( groupObj.root, markerObj ) ;
343 FCKDomTools.SetElementMarker( markerObj, itemNode, '_FCK_ListItem_Processed', true ) ;
[all …]
H A Dfckindentcommands.js60 var nearestListBlock = FCKDomTools.GetCommonParentNode( range.StartNode || range.StartContainer ,
89 var listNode = FCKDomTools.GetCommonParentNode( startContainer, endContainer, ['ul','ol'] ) ;
137 var commonParents = FCKDomTools.GetCommonParents( range.StartContainer, range.EndContainer ) ;
220 var listParents = FCKDomTools.GetParents( listNode ) ;
235 var listArray = FCKDomTools.ListToArray( listNode, markerObj ) ;
273 var newList = FCKDomTools.ArrayToList( listArray ) ;
278 FCKDomTools.ClearAllMarkers( markerObj ) ;
H A Dfckblockquotecommand.js54 commonParent = FCKDomTools.GetCommonParents( block.parentNode, commonParent ).pop() ;
137 FCKDomTools.BreakParent( node, node.parentNode, range ) ;
/plugin/fckg/fckeditor/editor/js/
H A Dfckeditorcode_gecko.js62FCKDomTools.GetNextSibling(H);var L=K||!FCKDomTools.GetPreviousSibling(H);var M;var N=-1;for (var …
64FCKDomTools.GetFirstChild(A,['UL','OL']);if (G){F=true;var H;while ((H=G.firstChild)) E.appendChil…
67 …rt(C.parentNode,FCKDomTools.GetIndexOf(C));FCKDomTools.RemoveNode(C);if (D){B.setEnd(D.parentNode,
68FCKDomTools.GetNextSourceNode(H,true,null,I)||H;};J=true;}else{if (H.firstChild){if (!B){B=new FCK…
69 …createElement('div');B.innerHTML=A;FCKDomTools.MoveChildren(B,this.RootNode);},InsertAfterNode:fun…
70FCKDomTools.GetIndexOf(A)+1);},setStartBefore:function(A){this.setStart(A.parentNode,FCKDomTools.G…
71FCKDomTools.GetPreviousSourceElement(B.StartNode,true);if (F&&F.nodeName.toLowerCase()=='br'){var …
89FCKDomTools.TrimNode(A.body);if (!A.body.firstChild){var D=A.createElement('p');A.body.appendChild…
91FCKDomTools.GetCommonParentNode(A.StartNode||A.StartContainer,A.EndNode||A.EndContainer,['ul','ol'…
92FCKDomTools.MoveNode(D,F,true);}};if (E&&E.parentNode.nodeName.IEquals('blockquote')&&!E.previousS…
[all …]
H A Dfckeditorcode_ie.js66FCKDomTools.GetNextSibling(H);var L=K||!FCKDomTools.GetPreviousSibling(H);var M;var N=-1;for (var …
67FCKDomTools.BreakParent(C,H,A);};F=new FCKElementPath(D);G=F.Elements;for (var i=1;i<G.length;i++)…
68FCKDomTools.GetFirstChild(A,['UL','OL']);if (G){F=true;var H;while ((H=G.firstChild)) E.appendChil…
72FCKDomTools.GetNextSourceNode(H,true,null,I)||H;};J=true;}else{if (H.firstChild){if (!B){B=new FCK…
73FCKDomTools.MoveChildren(this.RootNode,A);},AppendHtml:function(A){var B=this._Document.createElem…
74FCKDomTools.GetIndexOf(A)+1);},setStartBefore:function(A){this.setStart(A.parentNode,FCKDomTools.G…
75FCKDomTools.GetPreviousSourceElement(B.StartNode,true);if (F&&F.nodeName.toLowerCase()=='br'){var …
93FCKDomTools.TrimNode(A.body);if (!A.body.firstChild){var D=A.createElement('p');A.body.appendChild…
95FCKDomTools.GetCommonParentNode(A.StartNode||A.StartContainer,A.EndNode||A.EndContainer,['ul','ol'…
96FCKDomTools.MoveNode(D,F,true);}};if (E&&E.parentNode.nodeName.IEquals('blockquote')&&!E.previousS…
[all …]
/plugin/wysiwyg/fckeditor/editor/js/
H A Dfckeditorcode_ie.js52FCKDomTools.GetNextSibling(G);var K=J||!FCKDomTools.GetPreviousSibling(G);var L;var M=-1;for (var …
53FCKDomTools.BreakParent(C,H,A);};F=new FCKElementPath(D);G=F.Elements;for (var i=1;i<G.length;i++)…
54FCKDomTools.GetFirstChild(A,['UL','OL']);if (G){F=true;var H;while ((H=G.firstChild)) E.appendChil…
56FCKDomTools.TrimNode(A);return (A.innerHTML.length==0);},CheckStartOfBlock:function(){var A=this._…
57FCKDomTools.GetIndexOf(B));B.parentNode.removeChild(B);this._Range.setEnd(C.parentNode,FCKDomTools
58FCKDomTools.GetNextSourceNode(H,L,null,I);};if (!A){if (!B){this._NextNode=null;return null;};A=B.…
59FCKDomTools.MoveChildren(this.RootNode,A);},AppendHtml:function(A){var B=this._Document.createElem…
60FCKDomTools.GetIndexOf(A)+1);},setStartBefore:function(A){this.setStart(A.parentNode,FCKDomTools.G…
61FCKDomTools.GetPreviousSourceElement(I,true,['BODY',B.StartBlockLimit.nodeName],['UL','OL']);A=thi…
79FCKDomTools.TrimNode(A.body);if (!A.body.firstChild){var D=A.createElement('p');A.body.appendChild…
[all …]
H A Dfckeditorcode_gecko.js51FCKDomTools.GetNextSibling(G);var K=J||!FCKDomTools.GetPreviousSibling(G);var L;var M=-1;for (var …
52FCKDomTools.BreakParent(C,H,A);};F=new FCKElementPath(D);G=F.Elements;for (var i=1;i<G.length;i++)…
53FCKDomTools.GetFirstChild(A,['UL','OL']);if (G){F=true;var H;while ((H=G.firstChild)) E.appendChil…
55FCKDomTools.TrimNode(A);return (A.innerHTML.length==0);},CheckStartOfBlock:function(){var A=this._…
56 …rt(C.parentNode,FCKDomTools.GetIndexOf(C));FCKDomTools.RemoveNode(C);if (D){B.setEnd(D.parentNode,
57FCKDomTools.GetNextSourceNode(H,L,null,I);};if (!A){if (!B){this._NextNode=null;return null;};A=B.…
58 …function(A){A.appendChild(this.RootNode);},InsertAfterNode:function(A){FCKDomTools.InsertAfterNode…
59FCKDomTools.GetIndexOf(A)+1);},setStartBefore:function(A){this.setStart(A.parentNode,FCKDomTools.G…
60FCKDomTools.GetPreviousSourceElement(I,true,['BODY',B.StartBlockLimit.nodeName],['UL','OL']);A=thi…
78FCKDomTools.TrimNode(A.body);if (!A.body.firstChild){var D=A.createElement('p');A.body.appendChild…
[all …]
/plugin/fckg/fckeditor/editor/plugins/autogrow/
H A Dfckplugin.js89 ( parseInt( FCKDomTools.GetCurrentElementStyle( oInnerDoc.body, 'margin-top' ), 10 ) || 0 ) +
90 ( parseInt( FCKDomTools.GetCurrentElementStyle( oInnerDoc.body, 'margin-bottom' ), 10 ) || 0 ) ;
/plugin/fckg/fckeditor/editor/plugins/dragresizetable/
H A Dfckplugin.js402 FCKDomTools.SetElementStyles( paddingBar, paddingStyles ) ;
462 FCKDomTools.SetElementStyles( paddingBar, paddingStyles ) ;
465 FCKDomTools.SetElementStyles( filler,
483 FCKDomTools.SetElementStyles( visibleBar,
498 FCKDomTools.SetElementStyles( this._ResizeBar,
514 FCKDomTools.SetElementStyles( element,
/plugin/wysiwyg/fckeditor/editor/plugins/dragresizetable/
H A Dfckplugin.js402 FCKDomTools.SetElementStyles( paddingBar, paddingStyles ) ;
461 FCKDomTools.SetElementStyles( paddingBar, paddingStyles ) ;
464 FCKDomTools.SetElementStyles( filler,
480 FCKDomTools.SetElementStyles( visibleBar,
495 FCKDomTools.SetElementStyles( this._ResizeBar,
/plugin/fckg/fckeditor/editor/dialog/common/
H A Dfck_dialog_common.js249 oEditor.FCKDomTools.MoveChildren( oldNode, oNewNode ) ;
341 FCKDomTools.MoveChildren( oNode, newNode ) ;

12