diff --git a/tests/plugins/widget/readonlyselection.js b/tests/plugins/widget/readonlyselection.js index 9515f1670ab..e738877a764 100644 --- a/tests/plugins/widget/readonlyselection.js +++ b/tests/plugins/widget/readonlyselection.js @@ -48,6 +48,15 @@ 'test widget creation when selection starts at the beginning and ends at the end of a widget': assertEditorSelectionOnWidgetsCreation( { initial: '
[
FakeWidget
foo
FakeWidget
]
', expected: '
FakeWidget
[foo]
FakeWidget
' + } ), + // (#2517) + 'test widget creation when selection starts in the drag handler': assertEditorSelectionOnWidgetsCreation( { + initial: '
' + + '
caption
' + + '[
foo]', + expected: '
' + + '
caption
' + + '
[foo]' } ) };