molecule icon indicating copy to clipboard operation
molecule copied to clipboard

bug: 无法将选中的文字拖拽到编辑器器内

Open alvin0804 opened this issue 1 year ago • 3 comments

Describe the bug

我对比了下官网的0.31.1版本,可以将编辑器区域外的文字选中之后拖拽到编辑器指定光标处,但是,molecule却无法将拖拽的文字插入到编辑器代码区域

Versions

  • OS: Mac os Big Sur 11.7.1
  • Browser: Google Chrome 版本 114.0.5735.106(正式版本) (x86_64)
  • Molecule: https://dtstack.github.io/molecule-examples/#/

To reproduce

Expected

期望能够将拖拽的文字或者内容插入到指定的编辑器代码区域,这件事可以极大提到小白使用业务代码编辑器的效率和体验

Actually happening

alvin0804 avatar Jun 16 '23 03:06 alvin0804

这个特性之前没留意过,如果是 monaco-editor 的特性,应该支持问题不大

wewoor avatar Jun 16 '23 03:06 wewoor

image

alvin0804 avatar Jun 16 '23 03:06 alvin0804

这个特性之前没留意过,如果是 monaco-editor 的特性,应该支持问题不大

谢谢~

alvin0804 avatar Jun 16 '23 03:06 alvin0804