mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
Support drag and drop copy for markdown cells
For #116393 Also removes some logging and improves drag/drop responsiveness
This commit is contained in:
@@ -20,10 +20,7 @@ type extendMarkdownItFnType = (
|
||||
const notebook = acquireNotebookRendererApi('notebookCoreTestRenderer');
|
||||
|
||||
notebook.onDidCreateMarkdown(({ element, content }: any) => {
|
||||
console.log('did create markdown cell');
|
||||
const rendered = markdownIt.render(content);
|
||||
element.innerHTML = rendered;
|
||||
});
|
||||
|
||||
console.log('markdown-it');
|
||||
}());
|
||||
|
||||
Reference in New Issue
Block a user