Navigation Menu

Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

Fix EZP-26027: Pressing enter with a focused embed creates a new empty embed #643

Merged
merged 1 commit into from Jul 8, 2016

Conversation

dpobel
Copy link
Contributor

@dpobel dpobel commented Jul 6, 2016

JIRA: https://jira.ez.no/browse/EZP-26027
New behavior caused by #596

Description

This patch makes sure that using Enter with a focused embed or double clicking on an embed element does not add a new embed element.
Note: the solution is the one suggested in CKEditor doc http://docs.ckeditor.com/#!/api/CKEDITOR.plugins.widget-event-doubleclick

Tests

manual tests + unit tests

@andrerom
Copy link
Contributor

andrerom commented Jul 6, 2016

+1

2 similar comments
@yannickroger
Copy link
Contributor

+1

@StephaneDiot
Copy link
Contributor

+1

@dpobel dpobel merged commit abe6a20 into 1.3 Jul 8, 2016
@andrerom andrerom deleted the ezp-26027_enter_embed branch July 12, 2016 22:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
4 participants