From 1305cbe90ca39fca47b9c78113ce3d6d47069ccc Mon Sep 17 00:00:00 2001 From: Damien Pobel <damien@pobel.fr> Date: Thu, 28 Jul 2016 14:08:36 +0200 Subject: [PATCH] Fix EZP-26108: Typing right after adding a block custom tag breaks the content (#1250) --- extension/ezoe/design/standard/javascript/ezoe/popup_utils.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/extension/ezoe/design/standard/javascript/ezoe/popup_utils.js b/extension/ezoe/design/standard/javascript/ezoe/popup_utils.js index 90ec036c5ce..409ed470a30 100644 --- a/extension/ezoe/design/standard/javascript/ezoe/popup_utils.js +++ b/extension/ezoe/design/standard/javascript/ezoe/popup_utils.js @@ -270,8 +270,6 @@ var eZOEPopupUtils = { if ( 'TABLE'.indexOf( s.editorElement.tagName ) === 0 ) ed.selection.select( jQuery( s.editorElement ).find( "tr:first-child > *:first-child" ).get(0), true ); - else if ( 'DIV'.indexOf( s.editorElement.tagName ) === 0 ) - ed.selection.select( s.editorElement ); else ed.selection.select( s.editorElement, true ); ed.nodeChanged();