EpicEditor - 前端的代码真奇妙

作者:Jian Shuo Wang 发表于:2012-09-08 21:23 · 未分类

var opts = { container: ’epiceditor’, basePath: ‘/cn/2012/09/EpicEditor/epiceditor’, clientSideStorage: true, localStorageName: ’epiceditor’, parser: marked, file: { name: ’epiceditor’, defaultContent: ‘’, autoSave: 100 }, theme: { base:’/themes/base/epiceditor.css’, preview:’/themes/preview/preview-dark.css’, editor:’/themes/editor/epic-dark.css’ }, focusOnLoad: true, shortcut: { modifier: 18, fullscreen: 70, preview: 80, edit: 79 } } var e = new EpicEditor(opts).load();

看了sofish这个百姓网工程师团队的blog,发现前端的很多东西实在太容易了。相当大的改变了我对编辑器的看法。随手用人家的代码做了个编辑器。真好用。

4 Comments
yes
— yograj tiwari · 2012-10-02 17:18
Hi, I think your website might be having browser compatibility issues.
When I look at your blog site in Chrome, it looks fine but when opening
in Internet Explorer, it has some overlapping. I just wanted to give you a quick heads up!
Other then that, superb blog!
— Reggie · 2012-10-30 04:40
Just test
— Jack · 2012-09-09 17:09
Had been in actual fact searching for just an ordinary
shower enclosures before i found this web
site, wouldn't even know there were any such thing as a 'steam shower enclosure', incredible, might just have to have one

my site :: steam shower whirlpool - Alberta -
— Alberta · 2014-06-14 00:12