You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 11, 2022. It is now read-only.
"This is the DraftJS Markdown plugin, a fork of the excellent draft-js-markdown-shortcuts-plugin. This text you're seeing right now is actual DraftJS state! Go on, edit it and play around with different markdown syntax.",
25
+
type: "unstyled",
26
+
depth: 0,
27
+
inlineStyleRanges: [
28
+
{
29
+
offset: 61,
30
+
length: 34,
31
+
style: "CODE",
32
+
},
33
+
{
34
+
offset: 97,
35
+
length: 58,
36
+
style: "BOLD",
37
+
},
38
+
],
39
+
entityRanges: [
40
+
{
41
+
offset: 12,
42
+
length: 23,
43
+
key: 0,
44
+
},
45
+
],
46
+
data: {},
47
+
},
48
+
{
49
+
key: "e2uqe",
50
+
text: "Code",
51
+
type: "header-two",
52
+
depth: 0,
53
+
inlineStyleRanges: [],
54
+
entityRanges: [],
55
+
data: {},
56
+
},
57
+
{
58
+
key: "5m15n",
59
+
text: "Let's take a look at some code, shall we?",
60
+
type: "unstyled",
61
+
depth: 0,
62
+
inlineStyleRanges: [
63
+
{
64
+
offset: 26,
65
+
length: 5,
66
+
style: "ITALIC",
67
+
},
68
+
],
69
+
entityRanges: [],
70
+
data: {},
71
+
},
72
+
{
73
+
key: "39j2p",
74
+
text:
75
+
"import createMarkdownPlugin from 'draft-js-markdown-plugin';\nconst markdownPlugin = createMarkdownPlugin();",
0 commit comments