I wish to drag something .I can get cmView from event,but I want to get Editor(not activeEditor) which I drag.I want get Editor to write something.How can I achieve it？
What is cmView? What event are you talking about?
Markdown tabs are represented by the MarkdownView class. An Editor instance is attached at .editor
The open tabs are navigable under app.workspace.rootSplit.children. console.log it to see the tree of workspace items.
If you have one Markdown tab open and no splits,
app.workspace.rootSplit.children.children.view will be the MarkdownView instance for that tab.