Solution: In case of selecting a table in the status bar, select the
whole node.
Change-Id: Ie68210e49fcf9515cf9233b7495d0c440922debd
Resolves: #29023
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/4380
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
var editor = this.getEditor();
element.blur();
if (!Ext.isIE) {
- if (/^(img)$/i.test(element.ancestor.nodeName)) {
+ if (/^(img|table)$/i.test(element.ancestor.nodeName)) {
editor.selectNode(element.ancestor);
} else {
editor.selectNodeContents(element.ancestor);