Support drag and drop copy for markdown cells

For #116393

Also removes some logging and improves drag/drop responsiveness
This commit is contained in:
Matt Bierner
2021-02-10 17:37:28 -08:00
parent b262ce0ac4
commit 6dd156d04b
6 changed files with 57 additions and 33 deletions

View File

@@ -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');
}());