Skip to content

Commit 1305cbe

Browse files
authored
Fix EZP-26108: Typing right after adding a block custom tag breaks the content (#1250)
1 parent fc28f80 commit 1305cbe

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

extension/ezoe/design/standard/javascript/ezoe/popup_utils.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,6 @@ var eZOEPopupUtils = {
270270

271271
if ( 'TABLE'.indexOf( s.editorElement.tagName ) === 0 )
272272
ed.selection.select( jQuery( s.editorElement ).find( "tr:first-child > *:first-child" ).get(0), true );
273-
else if ( 'DIV'.indexOf( s.editorElement.tagName ) === 0 )
274-
ed.selection.select( s.editorElement );
275273
else
276274
ed.selection.select( s.editorElement, true );
277275
ed.nodeChanged();

0 commit comments

Comments
 (0)