File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 11import React from 'react' ;
22import { render } from 'react-dom' ;
33import DemoEditor from './components/DemoEditor' ;
4+ import Ribbon from 'react-github-fork-ribbon' ;
45
56// Import your routes so that you can pass them to the <Router /> component
67// eslint-disable-next-line import/no-named-as-default
78
89// Only render in the browser
910if ( typeof document !== 'undefined' ) {
1011 render (
11- < DemoEditor /> ,
12+ < div >
13+ < Ribbon href = "https://github.com/ngs/draft-js-markdown-shortcuts-plugin/" target = "_blank" position = "right" color = "black" >
14+ Fork me on GitHub
15+ </ Ribbon >
16+ < DemoEditor />
17+ </ div > ,
1218 document . getElementById ( 'root' )
1319 ) ;
1420}
Original file line number Diff line number Diff line change 6666 "prismjs" : " ^1.6.0" ,
6767 "react-addons-pure-render-mixin" : " ^15.4.1" ,
6868 "react-addons-test-utils" : " ^15.4.1" ,
69+ "react-github-fork-ribbon" : " ^0.4.4" ,
6970 "rimraf" : " ^2.5.4" ,
7071 "static-site-generator-webpack-plugin" : " ^3.1.0" ,
7172 "style-loader" : " ^0.13.1" ,
You can’t perform that action at this time.
0 commit comments