duoshuo / airpub

a pure front-end blog engine powered by duoshuo API
http://airpub.io
MIT License
359 stars 41 forks source link

更新文章时内容区初始是空白 #6

Closed Frederick-S closed 10 years ago

Frederick-S commented 10 years ago

必须先对其进行更改才会显示。

guo-yu commented 10 years ago

是 Chrome 浏览器吗?CodeMirror 编辑器好像一直存在这种问题。选中才会显示,感觉是浏览器部分渲染失败导致的。目前也没有比较有效的解决办法,先标记一下。另外麻烦你提供一下当前的 ua

Frederick-S commented 10 years ago

@turingou 是 Chrome 浏览器,Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.143 Safari/537.36

guo-yu commented 10 years ago

@Frederick-S 感谢,我会尽快排查这个问题

guo-yu commented 10 years ago

我找到有人遇到类似的问题了,马上解决 CodeMirror has content but won't display until keypress http://stackoverflow.com/questions/10575833/codemirror-has-content-but-wont-display-until-keypress

guo-yu commented 10 years ago

已经在 master 分支解决这个 bug,将在 0.2.0 版本发布~

Frederick-S commented 10 years ago

@turingou :thumbsup: