Skip to content

Commit

Permalink
Fix EZP-26108: Typing right after adding a block custom tag breaks th…
Browse files Browse the repository at this point in the history
…e content (#1250)
  • Loading branch information
dpobel authored Jul 28, 2016
1 parent fc28f80 commit 1305cbe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions extension/ezoe/design/standard/javascript/ezoe/popup_utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 1305cbe

Please sign in to comment.