jiawei686
jiawei686
感谢建议!vscode插件正在排期开发中,开发完成后会第一时间对外开源
`init.cherryInstance.export('pdf');`方法是调用浏览器API将生成的HTML内容作为pdf导出,仅提供给操作栏导出按钮内部使用,不支持外部调用。看楼主已经拿到了HTML结构,有独立的点击下载业务逻辑,则需要自行实现下载方法。如果一定要外部调用export方法的话需要确保body没有限制高度,且没有`overflow: hidden!important`等强制css写法。
实例化cherryInstance还是会带有很多编辑器逻辑,可以按照文档直接引入解析引擎 ```js import CherryEngine from 'cherry-markdown/dist/cherry-markdown.engine.core'; const cherryEngineInstance = new CherryEngine({}); // 配置同cherryInstance const htmlContent = cherryEngineInstance.makeHtml('# welcome to cherry editor!'); ```
Our product needs notion-like column layout, which means I have to implement side-by-side blocks. This is blowing my mind. I'm figuring out is it possible to implement this by using...
> 我改成了不同股票模型持续训练 是通过增加action spaces维度实现的吗,效果有提高不