The component is located at /components/dataEntry/TextEditor/index.js
From prismjs-slatejs branch
- Clone this repo
git clone https://github.com/ScottAgirs/playground-istyled-nextjs.git prism-slate
- Enter the directory
cd prism-slate
- Install project dependencies
npm
oryarn
- both have been tested, so can run either one!
yarn install
- Run locally - everything will work as expected, markup preserved, syntax highlighted:
yarn dev
- Run locally, but build first - the markup will be broken apart and collapsed into a single string, but won't be re-built.
yarn build
yarn start