From 7e563b89c73523627532b464a2e688c5b8f00b15 Mon Sep 17 00:00:00 2001 From: Aviral Dasgupta Date: Fri, 27 May 2016 10:17:01 +0530 Subject: [PATCH] initial version of rich text editor --- package.json | 1 + src/vector/index.js | 1 + 2 files changed, 2 insertions(+) diff --git a/package.json b/package.json index c2400cedfc..8a47fbee03 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ "dependencies": { "babel-polyfill": "^6.5.0", "classnames": "^2.1.2", + "draft-js": "^0.7.0", "extract-text-webpack-plugin": "^0.9.1", "filesize": "^3.1.2", "flux": "~2.0.3", diff --git a/src/vector/index.js b/src/vector/index.js index 0ca1c698f3..6d966d2f58 100644 --- a/src/vector/index.js +++ b/src/vector/index.js @@ -26,6 +26,7 @@ require('../../vector/components.css'); require('gemini-scrollbar/gemini-scrollbar.css'); require('gfm.css/gfm.css'); require('highlight.js/styles/github.css'); +require('draft-js/dist/Draft.css'); // add React and ReactPerf to the global namespace, to make them easier to