├── .babelrc ├── .eslintrc.json ├── .gitignore ├── .npmignore ├── .travis.yml ├── CHANGELOG.md ├── LICENSE ├── README.md ├── docs ├── README.md ├── data.json ├── doc.md ├── index.html └── rendered.html ├── index.html ├── package.json ├── rendered.html ├── src ├── basic.scss ├── components │ ├── LinkEditComponent.js │ ├── addbutton.js │ ├── addbutton.scss │ ├── blocks │ │ ├── atomic.js │ │ ├── atomic.scss │ │ ├── blockquotecaption.js │ │ ├── blockquotecaption.scss │ │ ├── break.js │ │ ├── caption.js │ │ ├── caption.scss │ │ ├── image.js │ │ ├── image.scss │ │ ├── text.js │ │ ├── text.scss │ │ ├── todo.js │ │ └── todo.scss │ ├── blocktoolbar.js │ ├── customrenderer.js │ ├── entities │ │ └── link.js │ ├── inlinetoolbar.js │ ├── sides │ │ ├── break.js │ │ └── image.js │ ├── stylebutton.js │ ├── toolbar.js │ └── toolbar.scss ├── editor.js ├── example.js ├── exporter.js ├── importer.js ├── index.js ├── index.scss ├── model │ ├── content.js │ ├── content.spec.js │ ├── index.js │ └── index.spec.js └── util │ ├── beforeinput.js │ ├── beforeinput.spec.js │ ├── blockStyleFn.js │ ├── blockStyleFn.spec.js │ ├── constants.js │ ├── constants.spec.js │ ├── customstylemap.js │ ├── index.js │ ├── keybinding.js │ ├── rendermap.js │ └── rendermap.spec.js ├── test-js ├── css-null-compiler.js └── test_helper.js ├── webpack.config.js └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/.babelrc -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/.npmignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/README.md -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/docs/data.json -------------------------------------------------------------------------------- /docs/doc.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/docs/doc.md -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/docs/index.html -------------------------------------------------------------------------------- /docs/rendered.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/docs/rendered.html -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/index.html -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/package.json -------------------------------------------------------------------------------- /rendered.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/rendered.html -------------------------------------------------------------------------------- /src/basic.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/basic.scss -------------------------------------------------------------------------------- /src/components/LinkEditComponent.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/components/LinkEditComponent.js -------------------------------------------------------------------------------- /src/components/addbutton.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/components/addbutton.js -------------------------------------------------------------------------------- /src/components/addbutton.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/components/addbutton.scss -------------------------------------------------------------------------------- /src/components/blocks/atomic.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/components/blocks/atomic.js -------------------------------------------------------------------------------- /src/components/blocks/atomic.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/components/blocks/atomic.scss -------------------------------------------------------------------------------- /src/components/blocks/blockquotecaption.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/components/blocks/blockquotecaption.js -------------------------------------------------------------------------------- /src/components/blocks/blockquotecaption.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/components/blocks/blockquotecaption.scss -------------------------------------------------------------------------------- /src/components/blocks/break.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/components/blocks/break.js -------------------------------------------------------------------------------- /src/components/blocks/caption.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/components/blocks/caption.js -------------------------------------------------------------------------------- /src/components/blocks/caption.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/components/blocks/caption.scss -------------------------------------------------------------------------------- /src/components/blocks/image.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/components/blocks/image.js -------------------------------------------------------------------------------- /src/components/blocks/image.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/components/blocks/image.scss -------------------------------------------------------------------------------- /src/components/blocks/text.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/components/blocks/text.js -------------------------------------------------------------------------------- /src/components/blocks/text.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/components/blocks/text.scss -------------------------------------------------------------------------------- /src/components/blocks/todo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/components/blocks/todo.js -------------------------------------------------------------------------------- /src/components/blocks/todo.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/components/blocks/todo.scss -------------------------------------------------------------------------------- /src/components/blocktoolbar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/components/blocktoolbar.js -------------------------------------------------------------------------------- /src/components/customrenderer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/components/customrenderer.js -------------------------------------------------------------------------------- /src/components/entities/link.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/components/entities/link.js -------------------------------------------------------------------------------- /src/components/inlinetoolbar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/components/inlinetoolbar.js -------------------------------------------------------------------------------- /src/components/sides/break.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/components/sides/break.js -------------------------------------------------------------------------------- /src/components/sides/image.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/components/sides/image.js -------------------------------------------------------------------------------- /src/components/stylebutton.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/components/stylebutton.js -------------------------------------------------------------------------------- /src/components/toolbar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/components/toolbar.js -------------------------------------------------------------------------------- /src/components/toolbar.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/components/toolbar.scss -------------------------------------------------------------------------------- /src/editor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/editor.js -------------------------------------------------------------------------------- /src/example.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/example.js -------------------------------------------------------------------------------- /src/exporter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/exporter.js -------------------------------------------------------------------------------- /src/importer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/importer.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/index.js -------------------------------------------------------------------------------- /src/index.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/index.scss -------------------------------------------------------------------------------- /src/model/content.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/model/content.js -------------------------------------------------------------------------------- /src/model/content.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/model/content.spec.js -------------------------------------------------------------------------------- /src/model/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/model/index.js -------------------------------------------------------------------------------- /src/model/index.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/model/index.spec.js -------------------------------------------------------------------------------- /src/util/beforeinput.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/util/beforeinput.js -------------------------------------------------------------------------------- /src/util/beforeinput.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/util/beforeinput.spec.js -------------------------------------------------------------------------------- /src/util/blockStyleFn.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/util/blockStyleFn.js -------------------------------------------------------------------------------- /src/util/blockStyleFn.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/util/blockStyleFn.spec.js -------------------------------------------------------------------------------- /src/util/constants.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/util/constants.js -------------------------------------------------------------------------------- /src/util/constants.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/util/constants.spec.js -------------------------------------------------------------------------------- /src/util/customstylemap.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/util/customstylemap.js -------------------------------------------------------------------------------- /src/util/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/util/index.js -------------------------------------------------------------------------------- /src/util/keybinding.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/util/keybinding.js -------------------------------------------------------------------------------- /src/util/rendermap.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/util/rendermap.js -------------------------------------------------------------------------------- /src/util/rendermap.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/src/util/rendermap.spec.js -------------------------------------------------------------------------------- /test-js/css-null-compiler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/test-js/css-null-compiler.js -------------------------------------------------------------------------------- /test-js/test_helper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/test-js/test_helper.js -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/webpack.config.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brijeshb42/medium-draft/HEAD/yarn.lock --------------------------------------------------------------------------------