This repository was archived by the owner on Oct 11, 2022. It is now read-only.
Commit 9e5f03d
committed
Use standalone draft-js-prism-plugin
The Prism plugin @ngs wrote in this repo works great, I wanted to use it
too so I took it
and made it it's own standalone package:
[`draft-js-prism-plugin`](https://github.com/withspectrum/draft-js-prism-plugin)
This PR just deletes your implementation and replaces it with an import
from `draft-js-prism-plugin`. Since the standalone package is basically
just a copy & paste this works just as well as before.1 parent bfe6546 commit 9e5f03d
File tree
3 files changed
+18
-36
lines changed- demo/client
- components/DemoEditor
- plugins
3 files changed
+18
-36
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
14 | 29 | | |
15 | 30 | | |
16 | 31 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
113 | 114 | | |
114 | 115 | | |
115 | 116 | | |
0 commit comments