sofish

开源的实时文本编辑器 PEN

  •  
  •   sofish · Sep 3, 2013 · 8503 views
    This topic created in 4650 days ago, the information mentioned may be changed or developed.
    新挖的一个坑,除了一般的 HTML 编辑,准备支持 Markdown 语法实时解析。

    需求啊,开发啊,请瞄 Github 上 Repo: https://github.com/sofish/pen

    LIVE DEMO: http://sofish.github.io/pen
    34 replies    1970-01-01 08:00:00 +08:00
    zythum
        1
    zythum  
       Sep 3, 2013
    前段时间不知在哪里看过。 原来是soflsh大的东西哈...

    NemoAlex
        2
    NemoAlex  
       Sep 3, 2013
    支持剪贴板粘贴
    不依赖于其它框架
    很棒啊!
    echoHUST
        3
    echoHUST  
       Sep 3, 2013
    赞~
    0racleTink
        4
    0racleTink  
       Sep 3, 2013
    这个好爽
    iiduce
        5
    iiduce  
       Sep 3, 2013
    喜欢,正在想应用场景。
    Numbcoder
        6
    Numbcoder  
       Sep 3, 2013
    cool!
    加个 code block 就更好了!
    xdata
        7
    xdata  
       Sep 3, 2013
    设了链接如何取消?..就算是清空链接里面的url, 似乎还是存在...
    yzhrain
        8
    yzhrain  
       Sep 3, 2013
    支持,不过为什么不能支持图片呢?
    sofish
        9
    sofish  
    OP
       Sep 3, 2013
    @xdata 清空就可以了


    @yzhrain 图片我会支持个更酷的,哈哈,马上去 issue 里面添加
    justan
        10
    justan  
       Sep 3, 2013
    和 [popline](http://kenshin54.github.io/popline/) 比较像
    sofish
        11
    sofish  
    OP
       Sep 3, 2013
    @justan 好丑啊,x
    ChenNi
        12
    ChenNi  
       Sep 3, 2013
    支持楼主!~
    感觉有前途,好玩
    zhttty
        13
    zhttty  
       Sep 3, 2013
    赞....
    Hyperion
        14
    Hyperion  
       Sep 3, 2013
    突然很好奇, 鱼叔有多少项(da)目(keng)被用在产品里了?
    detailyang
        15
    detailyang  
       Sep 3, 2013
    前段时间用过popline..妥妥觉得楼主才是真爱
    mlhorizon
        16
    mlhorizon  
       Sep 3, 2013
    还有这个也类似:
    https://github.com/tholman/zenpen

    大家都不打算支持IE了吗?
    sofish
        17
    sofish  
    OP
       Sep 4, 2013
    @Hyperion 列举一些我挖的坑,只列一些我所在公司用的吧,不包括别的公司:

    - Alice - 支付宝整站都在用
    - Typo.css - Baixing 网的 Puerh UI 在用 https://github.com/baixing/Puerh
    - Puerh - 百姓网的全站 UI,也在我做的,目前是 2.0
    - Validtor.js - http://shanghai.baixing.com/fabu/ 还有 inews.io 之类的
    - Recorder.js - 同上
    - Mask.js / performance.js / xxx ...

    大部分都在用。告诉你个秘密,我很多项目都是先应用在项目上,再开源的,哈哈哈哈哈哈...

    其实还有各种没放出来的 js 库什么之类的,因为没时间或者跟公司的业务结合的太紧了。


    @mlhorizon 参考我这条推:http://weibo.com/1639517374/A7LClygVL?mod=weibotime

    「Zenpen 思想非常赞,不过代码组织比较乱,她是我写 Pen 的原因,因为我需要干净的代码关系,还有 markdown 语法实 covert,有兴趣的同学可以 watch / watch / fork,我会填完这个坑」
    Hyperion
        18
    Hyperion  
       Sep 4, 2013
    @mlhorizon IE10支持就好了, 别的管他死活.

    所有之前的版本应该直接送进博物馆...
    sofish
        19
    sofish  
    OP
       Sep 4, 2013
    Hyperion
        20
    Hyperion  
       Sep 4, 2013
    @sofish /擦汗, 一直没发现支付宝一直在使用Alice .

    Validtor.js 刚出来的时候曾经使用过一次, 但后来因为突然发现没有两字段相等检测... 那次到最后没时间改了, 所以又换回了jquery.validate.js . 囧, 学艺不精, 尝试改动但失败了...

    准备这次尝试一下Typo.css 做排版... 嘿嘿, 鱼叔出产质量保证...
    hzlzh
        21
    hzlzh  
    PRO
       Sep 4, 2013
    舒服的交互,清新的配色,必火啊~
    just44
        22
    just44  
       Sep 4, 2013 via iPhone   ❤️ 1
    这不跟 https://github.com/mduvall/grande.js 一模一样的么
    iZr
        23
    iZr  
       Sep 4, 2013
    copy 别人的....?还是?
    justan
        24
    justan  
       Sep 4, 2013
    比较希望类似的编辑器支持移动浏览器.
    yemoluo
        25
    yemoluo  
       Sep 4, 2013
    sofish
        26
    sofish  
    OP
       Sep 4, 2013 via iPhone
    @just44 grance.js 有很多非常赞,但你从哪点看出来一模一样?
    dallaslu
        27
    dallaslu  
       Sep 4, 2013
    @sofish 但是一眼看上去,的确非常相似
    byron
        28
    byron  
       Sep 4, 2013
    1、the kind you might find yourself hitchhiking on
    2、if you were so adventurous.
    圈住这两句话,点引用,就会被坑。
    字体大小再也回不去了。。。
    sofish
        29
    sofish  
    OP
       Sep 4, 2013
    @byron 嗯,有位老外也发现了这个 bug https://github.com/sofish/pen/issues/23
    mlhorizon
        30
    mlhorizon  
       Sep 4, 2013
    @Hyperion IE10就是个“中国梦”
    ushuz
        31
    ushuz  
       Sep 4, 2013
    如果从后往前选中整段,不会弹出工具栏。
    比如“Stewart and his tea...”和“And I have always...”这两段。
    Chrome 31.0.1612.2 dev-m
    sofish
        32
    sofish  
    OP
       Sep 4, 2013
    @ushuz 求系统名,像这个? https://github.com/sofish/pen/issues/21
    ipconfiger
        33
    ipconfiger  
       Sep 4, 2013
    用来当博客的实时编辑器不错丫,加上图片功能就更好了
    paloalto
        34
    paloalto  
       Sep 7, 2013
    http://hallojs.org/ 这也有一个
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3176 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 83ms · UTC 13:49 · PVG 21:49 · LAX 06:49 · JFK 09:49
    ♥ Do have faith in what you're doing.