Skip to content

Commit f7bf406

Browse files
committed
Merge pull request draft-js-plugins#93 from draft-js-plugins/move-editor
move editor
2 parents 6897baa + 055d6be commit f7bf406

14 files changed

+60
-3
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ draft-js-linkify-plugin/lib/**
55
draft-js-mention-plugin/lib/**
66
draft-js-sticker-plugin/lib/**
77
draft-js-undo-plugin/lib/**
8+
draft-js-plugins-editor/lib/**
89
scripts/**
910
docs/public/**

.jscsrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"draft-js-mention-plugin/lib/**",
1313
"draft-js-sticker-plugin/lib/**",
1414
"draft-js-undo-plugin/lib/**",
15+
"draft-js-plugins-editor/lib/**",
1516
"lib/**"
1617
]
1718
}

docs/webpack.config.base.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ var autoprefixer = require('autoprefixer'); // eslint-disable-line no-var
55
module.exports = {
66
resolve: {
77
alias: {
8-
'draft-js-plugins-editor': path.join(__dirname, '..', 'src', 'pluginEditor'),
8+
'draft-js-plugins-editor': path.join(__dirname, '..', 'draft-js-plugins-editor', 'src'),
99
'draft-js-hashtag-plugin': path.join(__dirname, '..', 'draft-js-hashtag-plugin', 'src'),
1010
'draft-js-linkify-plugin': path.join(__dirname, '..', 'draft-js-linkify-plugin', 'src'),
1111
'draft-js-mention-plugin': path.join(__dirname, '..', 'draft-js-mention-plugin', 'src'),
@@ -27,7 +27,7 @@ module.exports = {
2727
test: /\.js$/,
2828
loaders: ['babel'],
2929
include: [
30-
path.join(__dirname, '..', 'src'),
30+
path.join(__dirname, '..', 'draft-js-plugins-editor', 'src'),
3131
path.join(__dirname, '..', 'draft-js-hashtag-plugin', 'src'),
3232
path.join(__dirname, '..', 'draft-js-linkify-plugin', 'src'),
3333
path.join(__dirname, '..', 'draft-js-mention-plugin', 'src'),
@@ -38,7 +38,7 @@ module.exports = {
3838
test: /\.css$/,
3939
loader: ExtractTextPlugin.extract('style-loader', 'css-loader?modules&importLoaders=1&localIdentName=[local]___[hash:base64:5]!postcss-loader'),
4040
include: [
41-
path.join(__dirname, '..', 'src'),
41+
path.join(__dirname, '..', 'draft-js-plugins-editor', 'src'),
4242
path.join(__dirname, '..', 'draft-js-hashtag-plugin', 'src'),
4343
path.join(__dirname, '..', 'draft-js-linkify-plugin', 'src'),
4444
path.join(__dirname, '..', 'draft-js-mention-plugin', 'src'),

draft-js-plugins-editor/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lib/*

draft-js-plugins-editor/.npmignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Dependency directory
2+
# Commenting this out is preferred by some people, see
3+
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git-
4+
node_modules
5+
6+
# sources
7+
/src/
8+
9+
# NPM debug
10+
npm-debug.log

draft-js-plugins-editor/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# draft-js-plugins-editor
2+
3+
Checkout www.draft-js-plugins.com

draft-js-plugins-editor/package.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"name": "draft-js-plugins-editor",
3+
"version": "0.0.0",
4+
"description": "Editor for DraftJS Plugins",
5+
"author": {
6+
"name": "Nik Graf",
7+
"email": "nik@nikgraf.com",
8+
"url": "http://www.nikgraf.com"
9+
},
10+
"repository": {
11+
"type": "git",
12+
"url": "https://github.com/draft-js-plugins/draft-js-plugins.git"
13+
},
14+
"main": "lib/index.js",
15+
"keywords": [
16+
"editor",
17+
"wysiwyg",
18+
"draft",
19+
"react",
20+
"ux",
21+
"components",
22+
"widget",
23+
"react-component"
24+
],
25+
"peerDependencies": {
26+
"react": ">=0.14.0 || 15.0.0-rc.2",
27+
"react-dom": ">=0.14.0 || 15.0.0-rc.2"
28+
},
29+
"scripts": {
30+
"build": "BABEL_ENV=production ../node_modules/.bin/babel --out-dir='lib' --ignore='__tests__/*' src",
31+
"prepublish": "npm run build"
32+
},
33+
"license": "MIT",
34+
"dependencies": {
35+
"decorate-component-with-props": "^1.0.2",
36+
"draft-js": "^0.2.2",
37+
"find-with-regex": "^1.0.2",
38+
"immutable": "^3.7.6",
39+
"union-class-names": "^1.0.0"
40+
}
41+
}
File renamed without changes.

0 commit comments

Comments
 (0)