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.2.2
[ckeditor.git]
/
_source
/
plugins
/
table
/
dialogs
/
table.js
diff --git
a/_source/plugins/table/dialogs/table.js
b/_source/plugins/table/dialogs/table.js
index
6ad826c
..
38652d4
100644
(file)
--- a/
_source/plugins/table/dialogs/table.js
+++ b/
_source/plugins/table/dialogs/table.js
@@
-43,6
+43,11
@@
For licensing, see LICENSE.html or http://ckeditor.com/license
}
\r
else if ( ranges.length > 0 )
\r
{
\r
}
\r
else if ( ranges.length > 0 )
\r
{
\r
+ // Webkit could report the following range on cell selection (#4948):
\r
+ // <table><tr><td>[ </td></tr></table>]
\r
+ if ( CKEDITOR.env.webkit )
\r
+ ranges[ 0 ].shrink( CKEDITOR.NODE_ELEMENT );
\r
+
\r
var rangeRoot = ranges[0].getCommonAncestor( true );
\r
selectedTable = rangeRoot.getAscendant( 'table', true );
\r
}
\r
var rangeRoot = ranges[0].getCommonAncestor( true );
\r
selectedTable = rangeRoot.getAscendant( 'table', true );
\r
}
\r