Skip to content

Commit

Permalink
chore(demo): switch list nesting demo to use ordered list
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaudcolas committed Apr 13, 2021
1 parent d309382 commit 3bd4a0e
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 34 deletions.
34 changes: 17 additions & 17 deletions src/demo/components/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const copyPasteContent = {
{
key: "er6ke",
text: "To the editor below!",
type: "unordered-list-item",
type: "ordered-list-item",
},
{
key: "47a3o",
Expand Down Expand Up @@ -79,97 +79,97 @@ const listNestingContent = {
{
key: "ako0c",
text: "Infinite",
type: "unordered-list-item",
type: "ordered-list-item",
depth: 0,
},
{
key: "adreo",
text: "Nested",
type: "unordered-list-item",
type: "ordered-list-item",
depth: 1,
},
{
key: "bm3ec",
text: "List",
type: "unordered-list-item",
type: "ordered-list-item",
depth: 2,
},
{
key: "aqg1s",
text: "Nesting",
type: "unordered-list-item",
type: "ordered-list-item",
depth: 3,
},
{
key: "4dns4",
text: "Styles",
type: "unordered-list-item",
type: "ordered-list-item",
depth: 4,
},
{
key: "5k6tv",
text: "Work",
type: "unordered-list-item",
type: "ordered-list-item",
depth: 5,
},
{
key: "9htu8",
text: "For",
type: "unordered-list-item",
type: "ordered-list-item",
depth: 6,
},
{
key: "at7om",
text: "As",
type: "unordered-list-item",
type: "ordered-list-item",
depth: 7,
},
{
key: "8fddl",
text: "Many",
type: "unordered-list-item",
type: "ordered-list-item",
depth: 8,
},
{
key: "2ja3i",
text: "Levels",
type: "unordered-list-item",
type: "ordered-list-item",
depth: 9,
},
{
key: "cv49i",
text: "As",
type: "unordered-list-item",
type: "ordered-list-item",
depth: 10,
},
{
key: "4aoq9",
text: "Configured",
type: "unordered-list-item",
type: "ordered-list-item",
depth: 11,
},
{
key: "d4hhk",
text: "Here",
type: "unordered-list-item",
type: "ordered-list-item",
depth: 12,
},
{
key: "bbeuk",
text: "Up",
type: "unordered-list-item",
type: "ordered-list-item",
depth: 13,
},
{
key: "6s9a8",
text: "To",
type: "unordered-list-item",
type: "ordered-list-item",
depth: 14,
},
{
key: "48sq1",
text: "15!",
type: "unordered-list-item",
type: "ordered-list-item",
depth: 15,
},
],
Expand Down
34 changes: 17 additions & 17 deletions src/demo/components/__snapshots__/App.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ exports[`App renders 1`] = `
Object {
"key": "er6ke",
"text": "To the editor below!",
"type": "unordered-list-item",
"type": "ordered-list-item",
},
Object {
"entityRanges": Array [
Expand Down Expand Up @@ -101,97 +101,97 @@ exports[`App renders 1`] = `
"depth": 0,
"key": "ako0c",
"text": "Infinite",
"type": "unordered-list-item",
"type": "ordered-list-item",
},
Object {
"depth": 1,
"key": "adreo",
"text": "Nested",
"type": "unordered-list-item",
"type": "ordered-list-item",
},
Object {
"depth": 2,
"key": "bm3ec",
"text": "List",
"type": "unordered-list-item",
"type": "ordered-list-item",
},
Object {
"depth": 3,
"key": "aqg1s",
"text": "Nesting",
"type": "unordered-list-item",
"type": "ordered-list-item",
},
Object {
"depth": 4,
"key": "4dns4",
"text": "Styles",
"type": "unordered-list-item",
"type": "ordered-list-item",
},
Object {
"depth": 5,
"key": "5k6tv",
"text": "Work",
"type": "unordered-list-item",
"type": "ordered-list-item",
},
Object {
"depth": 6,
"key": "9htu8",
"text": "For",
"type": "unordered-list-item",
"type": "ordered-list-item",
},
Object {
"depth": 7,
"key": "at7om",
"text": "As",
"type": "unordered-list-item",
"type": "ordered-list-item",
},
Object {
"depth": 8,
"key": "8fddl",
"text": "Many",
"type": "unordered-list-item",
"type": "ordered-list-item",
},
Object {
"depth": 9,
"key": "2ja3i",
"text": "Levels",
"type": "unordered-list-item",
"type": "ordered-list-item",
},
Object {
"depth": 10,
"key": "cv49i",
"text": "As",
"type": "unordered-list-item",
"type": "ordered-list-item",
},
Object {
"depth": 11,
"key": "4aoq9",
"text": "Configured",
"type": "unordered-list-item",
"type": "ordered-list-item",
},
Object {
"depth": 12,
"key": "d4hhk",
"text": "Here",
"type": "unordered-list-item",
"type": "ordered-list-item",
},
Object {
"depth": 13,
"key": "bbeuk",
"text": "Up",
"type": "unordered-list-item",
"type": "ordered-list-item",
},
Object {
"depth": 14,
"key": "6s9a8",
"text": "To",
"type": "unordered-list-item",
"type": "ordered-list-item",
},
Object {
"depth": 15,
"key": "48sq1",
"text": "15!",
"type": "unordered-list-item",
"type": "ordered-list-item",
},
],
"entityMap": Object {},
Expand Down

0 comments on commit 3bd4a0e

Please sign in to comment.