Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
ckeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vanilla ckeditor-3.4.1
[ckeditor.git]
/
_source
/
core
/
dom
/
range.js
diff --git
a/_source/core/dom/range.js
b/_source/core/dom/range.js
index
0146f6a
..
5846484
100644
(file)
--- a/
_source/core/dom/range.js
+++ b/
_source/core/dom/range.js
@@
-305,7
+305,7
@@
CKEDITOR.dom.range = function( document )
return node.type != CKEDITOR.NODE_TEXT
\r
&& node.getName() in CKEDITOR.dtd.$removeEmpty
\r
|| !CKEDITOR.tools.trim( node.getText() )
\r
return node.type != CKEDITOR.NODE_TEXT
\r
&& node.getName() in CKEDITOR.dtd.$removeEmpty
\r
|| !CKEDITOR.tools.trim( node.getText() )
\r
- || node.getParent().hasAttribute( '_fck_bookmark' );
\r
+ || node.getParent().hasAttribute( '_cke_bookmark' );
\r
}
\r
\r
var whitespaceEval = new CKEDITOR.dom.walker.whitespaces(),
\r
}
\r
\r
var whitespaceEval = new CKEDITOR.dom.walker.whitespaces(),
\r
@@
-400,7
+400,7
@@
CKEDITOR.dom.range = function( document )
var collapsed = this.collapsed;
\r
\r
startNode = this.document.createElement( 'span' );
\r
var collapsed = this.collapsed;
\r
\r
startNode = this.document.createElement( 'span' );
\r
- startNode.setAttribute( '_fck_bookmark', 1 );
\r
+ startNode.setAttribute( '_cke_bookmark', 1 );
\r
startNode.setStyle( 'display', 'none' );
\r
\r
// For IE, it must have something inside, otherwise it may be
\r
startNode.setStyle( 'display', 'none' );
\r
\r
// For IE, it must have something inside, otherwise it may be
\r
@@
-710,10
+710,10
@@
CKEDITOR.dom.range = function( document )
endNode = this.endContainer;
\r
\r
if ( startNode.is && startNode.is( 'span' )
\r
endNode = this.endContainer;
\r
\r
if ( startNode.is && startNode.is( 'span' )
\r
- && startNode.hasAttribute( '_fck_bookmark' ) )
\r
+ && startNode.hasAttribute( '_cke_bookmark' ) )
\r
this.setStartAt( startNode, CKEDITOR.POSITION_BEFORE_START );
\r
if ( endNode && endNode.is && endNode.is( 'span' )
\r
this.setStartAt( startNode, CKEDITOR.POSITION_BEFORE_START );
\r
if ( endNode && endNode.is && endNode.is( 'span' )
\r
- && endNode.hasAttribute( '_fck_bookmark' ) )
\r
+ && endNode.hasAttribute( '_cke_bookmark' ) )
\r
this.setEndAt( endNode, CKEDITOR.POSITION_AFTER_END );
\r
},
\r
\r
this.setEndAt( endNode, CKEDITOR.POSITION_AFTER_END );
\r
},
\r
\r
@@
-919,7
+919,7
@@
CKEDITOR.dom.range = function( document )
// If this is a visible element.
\r
// We need to check for the bookmark attribute because IE insists on
\r
// rendering the display:none nodes we use for bookmarks. (#3363)
\r
// If this is a visible element.
\r
// We need to check for the bookmark attribute because IE insists on
\r
// rendering the display:none nodes we use for bookmarks. (#3363)
\r
- if ( sibling.$.offsetWidth > 0 && !sibling.getAttribute( '_fck_bookmark' ) )
\r
+ if ( sibling.$.offsetWidth > 0 && !sibling.getAttribute( '_cke_bookmark' ) )
\r
{
\r
// We'll accept it only if we need
\r
// whitespace, and this is an inline
\r
{
\r
// We'll accept it only if we need
\r
// whitespace, and this is an inline
\r
@@
-1078,7
+1078,7
@@
CKEDITOR.dom.range = function( document )
// If this is a visible element.
\r
// We need to check for the bookmark attribute because IE insists on
\r
// rendering the display:none nodes we use for bookmarks. (#3363)
\r
// If this is a visible element.
\r
// We need to check for the bookmark attribute because IE insists on
\r
// rendering the display:none nodes we use for bookmarks. (#3363)
\r
- if ( sibling.$.offsetWidth > 0 && !sibling.getAttribute( '_fck_bookmark' ) )
\r
+ if ( sibling.$.offsetWidth > 0 && !sibling.getAttribute( '_cke_bookmark' ) )
\r
{
\r
// We'll accept it only if we need
\r
// whitespace, and this is an inline
\r
{
\r
// We'll accept it only if we need
\r
// whitespace, and this is an inline
\r