ckeditor / ckeditor4

The best enterprise-grade WYSIWYG editor. Fully customizable with countless features and plugins.
https://ckeditor.com/ckeditor-4
Other
5.79k stars 2.47k forks source link

Select and drag text inside Source dialog #3597

Open pan1982 opened 5 years ago

pan1982 commented 5 years ago

Type of report

Bug

Provide detailed reproduction steps (if any)

  1. Click Sourse button
  2. Open Source dialog
  3. Select part of the text
  4. Try to move selected text to another part of the text

Expected result

Selected part of the text should have moved from initial position to the new position

Actual result

Text isnt moved. You can cut-paste only

Other details

jacekbogdanski commented 5 years ago

Drag and drop support is prevented for the whole dialog, so the native drag and drop of the textarea element doesn't work:

https://github.com/ckeditor/ckeditor4/blob/ad381679b4436f489a65f6f397680da338024b0f/plugins/dialog/plugin.js#L184