{"action":"created","issue":{"url":"https://api.github.com/repos/suziwen/markdownxiaoshujiang/issues/857","repository_url":"https://api.github.com/repos/suziwen/markdownxiaoshujiang","labels_url":"https://api.github.com/repos/suziwen/markdownxiaoshujiang/issues/857/labels{/name}","comments_url":"https://api.github.com/repos/suziwen/markdownxiaoshujiang/issues/857/comments","events_url":"https://api.github.com/repos/suziwen/markdownxiaoshujiang/issues/857/events","html_url":"https://github.com/suziwen/markdownxiaoshujiang/issues/857","id":335633949,"node_id":"MDU6SXNzdWUzMzU2MzM5NDk=","number":857,"title":"绘图组件怎么上传到图床?","user":{"login":"WuShaogui","id":24794718,"node_id":"MDQ6VXNlcjI0Nzk0NzE4","avatar_url":"https://avatars3.githubusercontent.com/u/24794718?v=4","gravatar_id":"","url":"https://api.github.com/users/WuShaogui","html_url":"https://github.com/WuShaogui","followers_url":"https://api.github.com/users/WuShaogui/followers","following_url":"https://api.github.com/users/WuShaogui/following{/other_user}","gists_url":"https://api.github.com/users/WuShaogui/gists{/gist_id}","starred_url":"https://api.github.com/users/WuShaogui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WuShaogui/subscriptions","organizations_url":"https://api.github.com/users/WuShaogui/orgs","repos_url":"https://api.github.com/users/WuShaogui/repos","events_url":"https://api.github.com/users/WuShaogui/events{/privacy}","received_events_url":"https://api.github.com/users/WuShaogui/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-26T02:24:37Z","updated_at":"2018-06-26T15:04:29Z","closed_at":null,"author_association":"NONE","body":"这个不是绘图的问题,是绘图完成后我得到html文件,上传到千牛云时说不支持这个格式,即使在draw.io中保存为图片格式都无法上传.\r\n\r\n我目前的解决办法是,挨个图片打开,然后导出为图片,在拖进去.\r\n\r\n更为悲催的是,如果你放的是图片,就无法继续编辑,如果你不放图片又无法上传.弄得我都要维护两个版本的文档.\r\n\r\n我最理想的情况是:\r\n1.html也可以想图片一样,上传,发布到博客(这我不清楚有没有技术限制)\r\n2.**或者**draw中我保存为图片时,文章中显示为图片,并且可以再次点击进去编辑"},"comment":{"url":"https://api.github.com/repos/suziwen/markdownxiaoshujiang/issues/comments/400343539","html_url":"https://github.com/suziwen/markdownxiaoshujiang/issues/857#issuecomment-400343539","issue_url":"https://api.github.com/repos/suziwen/markdownxiaoshujiang/issues/857","id":400343539,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDM0MzUzOQ==","user":{"login":"suziwen","id":57370,"node_id":"MDQ6VXNlcjU3Mzcw","avatar_url":"https://avatars1.githubusercontent.com/u/57370?v=4","gravatar_id":"","url":"https://api.github.com/users/suziwen","html_url":"https://github.com/suziwen","followers_url":"https://api.github.com/users/suziwen/followers","following_url":"https://api.github.com/users/suziwen/following{/other_user}","gists_url":"https://api.github.com/users/suziwen/gists{/gist_id}","starred_url":"https://api.github.com/users/suziwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suziwen/subscriptions","organizations_url":"https://api.github.com/users/suziwen/orgs","repos_url":"https://api.github.com/users/suziwen/repos","events_url":"https://api.github.com/users/suziwen/events{/privacy}","received_events_url":"https://api.github.com/users/suziwen/received_events","type":"User","site_admin":false},"created_at":"2018-06-26T15:04:29Z","updated_at":"2018-06-26T15:04:29Z","author_association":"OWNER","body":"所有以组件命名的语法(比如表格组件，绘图组件)，都是做为一个文章附件保存的，由于图床只适用于保存图片，所以小书匠设计时就是不考虑把这些组件保存到图床上的。\r\n\r\n-------------\r\n\r\n1. 发布到博客，或者保存到印象笔记这种富文本的文章，都会把这些组件（绘图组件）渲染出来的。如果是纯文本的第三方存储，比如 github ,是会在 github 同级目录下创建 `attachments/xxxxx.html` 对应的文件的\r\n2.  drawio 中保存为图片，渲染就是一张图片，点击这个绘图组件的链接是可以继续编辑。不同的是它的链接还是绘图组件的链接，而且只能做为文章的附件来使用。"}}
{"actor":{"display_login":"suziwen"}}