drafty-editor
drafty-editor is a text editor that allows you to make amazing things with your text, it's very small and it react when you select to a text.
Last updated 2 months ago by jhornandev .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install drafty-editor 
SYNC missed versions from official npm registry.

drafty-editor

NPM JavaScript Style Guide
gif
drafty-editor is a text editor that allows you to make amazing things with your text, it's very small and it react when you select to a text.

Homepage

Ey, we have a web where you can try the editor ???? Drafty Website

Install

   npm install --save-dev drafty-editor

Usage

import React, { Component } from 'react'

import Draft from 'drafty-editor'

class App extends Component {
  render () {
    return (
      <Draft />
    )
  }
}

How can I create a link (Link tag)?

I had problems with this and the only solution right now is:

  • Select your text.
  • Place the mouse above of link icon (should appear a input above of the link icon).
  • Write the url.
  • When you finish of write the link press 'Enter'.

How was created ?????

Well, I'm react developer (I love it ????) besides this projects it's just JSX and CSS.

Why not preprocessors?

Okay... okay, preprocessor are so cool, and I know make easier the work, but I dind't need it.

Can I improve your code or take it how example? ????

Yeah, you can!.

Tools

react: What?, you don't know what react is?... Go to its website react is amazing!
git: Git allows you to keep control on your project (At this case I used it with Github) Git
parcel: Parcel makes your project quikly and you don't need write a lot of code like webpack Parcel
prettier: Make your code beautiful with prettier Prettier

License

MIT © Jhornan Colina (karttofel)

Current Tags

  • 2.0.3                                ...           latest (2 months ago)

20 Versions

  • 2.0.3                                ...           2 months ago
  • 2.0.2                                ...           2 months ago
  • 2.0.1                                ...           2 months ago
  • 2.0.0                                ...           2 months ago
  • 1.6.2                                ...           2 months ago
  • 1.6.0                                ...           2 months ago
  • 1.5.9                                ...           2 months ago
  • 1.5.7                                ...           2 months ago
  • 1.5.6                                ...           2 months ago
  • 1.5.5                                ...           2 months ago
  • 1.5.4                                ...           2 months ago
  • 1.5.2                                ...           2 months ago
  • 1.5.1                                ...           2 months ago
  • 1.5.0                                ...           2 months ago
  • 1.4.2                                ...           2 months ago
  • 1.4.1                                ...           2 months ago
  • 1.4.0                                ...           2 months ago
  • 1.2.0                                ...           2 months ago
  • 1.1.0                                ...           2 months ago
  • 1.0.0 [deprecated]           ...           2 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 2
Last Month 492
Dependencies (5)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |