Zack Young
Zack Young
@wupengFEX 通不过验证, 目前来看 width 被忽略了,所以影响不大。 
mac 下可以用 app.hide() 实现关闭窗口后回到上一个窗口的焦点,至于插入光标内容的话就不知道了。。复制到粘贴板 electron 应该是有接口的
Hit this problem, too. This happened when I open an image.
[${projectRoot}](https://github.com/zaaack/vscode-markdown-editor/blob/28718d62592c7e0fc6e8198e9664b0502cf04dbc/src/extension.ts#L222) 目前支持${projectRoot}${file}${dir}这几种特殊变量,可以试试
目前是可以直接复制 html 的, 以后可以加上导出
大概率是不行的,因为这个编辑器是基于vscode的webview panel的,和内置编辑器是完全不同的panel, snippets功能需要单独实现。。
@xmu714 我有空再看看,可以先尝试使用 第三方 工具实现,比如 alfred 的 snippets 扩展, https://zhuanlan.zhihu.com/p/33753656
if you alread have a uploaded images, you can insert via markdown syntax, or using vscode editos's multi cursor feature currently.
可以考虑把代码重构为 typescript,可以提高代码质量和可读性~