├── .gitignore ├── 01-installing-prosemirror ├── build.js ├── index.html └── src │ └── index.js ├── 02-working-with-options ├── build.js ├── index.html └── src │ └── index.js ├── 03-working-with-schemas ├── build.js ├── index.html └── src │ └── index.js ├── 04-getting-and-setting-the-document ├── build.js ├── index.html └── src │ └── index.js ├── 05-traversing-the-document ├── build.js ├── index.html └── src │ └── index.js ├── 06-modify-the-document ├── build.js ├── index.html └── src │ └── index.js ├── README.md ├── create-a-command ├── build.js ├── index.html └── src │ └── index.js ├── create-a-mark-type ├── build.js ├── index.html └── src │ ├── index.js │ └── superscript-mark.js ├── create-a-node-type-with-react ├── build.js ├── index.html ├── npm-debug.log └── src │ ├── image-block │ ├── component.jsx │ └── index.js │ └── index.js ├── create-a-node-type ├── build.js ├── index.html ├── npm-debug.log └── src │ ├── block-of-color.js │ └── index.js ├── package.json ├── see-history ├── build.js ├── index.html └── src │ └── index.js └── see-the-selection ├── build.js ├── index.html └── src └── index.js /.gitignore: -------------------------------------------------------------------------------- 1 | /*/dist 2 | node_modules/ 3 | /**/npm-debug.log 4 | -------------------------------------------------------------------------------- /01-installing-prosemirror/build.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/01-installing-prosemirror/build.js -------------------------------------------------------------------------------- /01-installing-prosemirror/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/01-installing-prosemirror/index.html -------------------------------------------------------------------------------- /01-installing-prosemirror/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/01-installing-prosemirror/src/index.js -------------------------------------------------------------------------------- /02-working-with-options/build.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/02-working-with-options/build.js -------------------------------------------------------------------------------- /02-working-with-options/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/02-working-with-options/index.html -------------------------------------------------------------------------------- /02-working-with-options/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/02-working-with-options/src/index.js -------------------------------------------------------------------------------- /03-working-with-schemas/build.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/03-working-with-schemas/build.js -------------------------------------------------------------------------------- /03-working-with-schemas/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/03-working-with-schemas/index.html -------------------------------------------------------------------------------- /03-working-with-schemas/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/03-working-with-schemas/src/index.js -------------------------------------------------------------------------------- /04-getting-and-setting-the-document/build.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/04-getting-and-setting-the-document/build.js -------------------------------------------------------------------------------- /04-getting-and-setting-the-document/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/04-getting-and-setting-the-document/index.html -------------------------------------------------------------------------------- /04-getting-and-setting-the-document/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/04-getting-and-setting-the-document/src/index.js -------------------------------------------------------------------------------- /05-traversing-the-document/build.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/05-traversing-the-document/build.js -------------------------------------------------------------------------------- /05-traversing-the-document/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/05-traversing-the-document/index.html -------------------------------------------------------------------------------- /05-traversing-the-document/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/05-traversing-the-document/src/index.js -------------------------------------------------------------------------------- /06-modify-the-document/build.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/06-modify-the-document/build.js -------------------------------------------------------------------------------- /06-modify-the-document/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/06-modify-the-document/index.html -------------------------------------------------------------------------------- /06-modify-the-document/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/06-modify-the-document/src/index.js -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # learn-prosemirror 2 | -------------------------------------------------------------------------------- /create-a-command/build.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/create-a-command/build.js -------------------------------------------------------------------------------- /create-a-command/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/create-a-command/index.html -------------------------------------------------------------------------------- /create-a-command/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/create-a-command/src/index.js -------------------------------------------------------------------------------- /create-a-mark-type/build.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/create-a-mark-type/build.js -------------------------------------------------------------------------------- /create-a-mark-type/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/create-a-mark-type/index.html -------------------------------------------------------------------------------- /create-a-mark-type/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/create-a-mark-type/src/index.js -------------------------------------------------------------------------------- /create-a-mark-type/src/superscript-mark.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/create-a-mark-type/src/superscript-mark.js -------------------------------------------------------------------------------- /create-a-node-type-with-react/build.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/create-a-node-type-with-react/build.js -------------------------------------------------------------------------------- /create-a-node-type-with-react/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/create-a-node-type-with-react/index.html -------------------------------------------------------------------------------- /create-a-node-type-with-react/npm-debug.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/create-a-node-type-with-react/npm-debug.log -------------------------------------------------------------------------------- /create-a-node-type-with-react/src/image-block/component.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/create-a-node-type-with-react/src/image-block/component.jsx -------------------------------------------------------------------------------- /create-a-node-type-with-react/src/image-block/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/create-a-node-type-with-react/src/image-block/index.js -------------------------------------------------------------------------------- /create-a-node-type-with-react/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/create-a-node-type-with-react/src/index.js -------------------------------------------------------------------------------- /create-a-node-type/build.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/create-a-node-type/build.js -------------------------------------------------------------------------------- /create-a-node-type/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/create-a-node-type/index.html -------------------------------------------------------------------------------- /create-a-node-type/npm-debug.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/create-a-node-type/npm-debug.log -------------------------------------------------------------------------------- /create-a-node-type/src/block-of-color.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/create-a-node-type/src/block-of-color.js -------------------------------------------------------------------------------- /create-a-node-type/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/create-a-node-type/src/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/package.json -------------------------------------------------------------------------------- /see-history/build.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/see-history/build.js -------------------------------------------------------------------------------- /see-history/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/see-history/index.html -------------------------------------------------------------------------------- /see-history/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/see-history/src/index.js -------------------------------------------------------------------------------- /see-the-selection/build.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/see-the-selection/build.js -------------------------------------------------------------------------------- /see-the-selection/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/see-the-selection/index.html -------------------------------------------------------------------------------- /see-the-selection/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericandrewlewis/learn-prosemirror/HEAD/see-the-selection/src/index.js --------------------------------------------------------------------------------