项目作者: p10ns11y

项目描述 :
A medium like comment on highlight with comments and texts anchor linked without any third-party packages just purely react, javascript and DOM
高级语言: JavaScript
项目地址: git://github.com/p10ns11y/comment-on-highlight.git
创建时间: 2017-02-24T18:05:40Z
项目社区:https://github.com/p10ns11y/comment-on-highlight

开源协议:

下载


Comment on highlighted text

The flow

  • Highlight any part the text on the page: A popup of button group appears, at this moment comment is the available option
  • Click comment icon: A text input appears in the right margin
  • Type and submit: After the submission, comment added to the comment list down below
  • Click on any comment: It should take us to the linked text

Stack

React, Javascript, CSS, DOM

To run the source localy

  • Install Dependencies: run yarn or npm install
  • Production Build:

    • yarn run build or npm run build
    • cd build
    • python -m SimpleHTTPServer 3000
    • hit the browser to localhost:3000
  • Development Build:

    • yarn start or npm start