Skip to content

Commit 3e791e6

Browse files
committed
style: format HTML fixture files with prettier
Made-with: Cursor
1 parent 422496c commit 3e791e6

11 files changed

Lines changed: 584 additions & 428 deletions
Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,32 @@
11
<!doctype html>
22
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>basicSingleSectionDocument</title>
7+
<link rel="stylesheet" href="../style.css" />
8+
</head>
39

4-
<head>
5-
<meta charset="UTF-8" />
6-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>basicSingleSectionDocument</title>
8-
<link rel="stylesheet" href="../style.css" />
9-
</head>
10-
11-
<body>
12-
<div class="tiptap__editor docy_editor relative">
13-
<div contenteditable="true" spellcheck="false" translate="no" class="tiptap ProseMirror" tabindex="0">
14-
<div class="heading opened" level="1" data-type="heading" data-id="Z3uSaP67e6cd9576">
15-
<div class="wrapBlock" data-id="Z3uSaP67e6cd9576">
16-
<h1 class="title" level="1"><span>Section One</span></h1>
17-
<div class="contentWrapper opened" data-type="contentWrapper">
18-
<div class="contents">
19-
<p>This is a test paragraph</p>
20-
<p><br class="ProseMirror-trailingBreak" /></p>
10+
<body>
11+
<div class="tiptap__editor docy_editor relative">
12+
<div
13+
contenteditable="true"
14+
spellcheck="false"
15+
translate="no"
16+
class="tiptap ProseMirror"
17+
tabindex="0">
18+
<div class="heading opened" level="1" data-type="heading" data-id="Z3uSaP67e6cd9576">
19+
<div class="wrapBlock" data-id="Z3uSaP67e6cd9576">
20+
<h1 class="title" level="1"><span>Section One</span></h1>
21+
<div class="contentWrapper opened" data-type="contentWrapper">
22+
<div class="contents">
23+
<p>This is a test paragraph</p>
24+
<p><br class="ProseMirror-trailingBreak" /></p>
25+
</div>
2126
</div>
2227
</div>
2328
</div>
2429
</div>
2530
</div>
26-
</div>
27-
</body>
28-
31+
</body>
2932
</html>
Lines changed: 33 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,38 @@
11
<!doctype html>
22
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>basictwo level document</title>
7+
<link rel="stylesheet" href="../style.css" />
8+
</head>
39

4-
<head>
5-
<meta charset="UTF-8" />
6-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>basictwo level document</title>
8-
<link rel="stylesheet" href="../style.css" />
9-
</head>
10-
11-
<body>
12-
<div class="tiptap__editor docy_editor relative">
13-
<div contenteditable="true" spellcheck="false" translate="no" class="tiptap ProseMirror" tabindex="0">
14-
<div class="heading opened" level="1" data-type="heading" data-id="S67e6ce00kL5ICS1">
15-
<div class="wrapBlock" data-id="S67e6ce00kL5ICS1">
16-
<h1 class="title" level="1"><span>Test Section</span></h1>
17-
<div class="contentWrapper opened" data-type="contentWrapper">
18-
<div class="contents">
19-
<p>This is a test paragraph</p>
20-
<div class="heading opened" level="2" data-id="gR67e6ce4evLOxm2" data-type="heading">
21-
<div class="wrapBlock" data-id="gR67e6ce4evLOxm2">
22-
<h2 class="title" level="2"><span>Level 2 Heading</span></h2>
23-
<div class="contentWrapper opened" data-type="contentWrapper">
24-
<div class="contents">
25-
<p>Content under level 2</p>
26-
<p><br class="ProseMirror-trailingBreak" /></p>
10+
<body>
11+
<div class="tiptap__editor docy_editor relative">
12+
<div
13+
contenteditable="true"
14+
spellcheck="false"
15+
translate="no"
16+
class="tiptap ProseMirror"
17+
tabindex="0">
18+
<div class="heading opened" level="1" data-type="heading" data-id="S67e6ce00kL5ICS1">
19+
<div class="wrapBlock" data-id="S67e6ce00kL5ICS1">
20+
<h1 class="title" level="1"><span>Test Section</span></h1>
21+
<div class="contentWrapper opened" data-type="contentWrapper">
22+
<div class="contents">
23+
<p>This is a test paragraph</p>
24+
<div
25+
class="heading opened"
26+
level="2"
27+
data-id="gR67e6ce4evLOxm2"
28+
data-type="heading">
29+
<div class="wrapBlock" data-id="gR67e6ce4evLOxm2">
30+
<h2 class="title" level="2"><span>Level 2 Heading</span></h2>
31+
<div class="contentWrapper opened" data-type="contentWrapper">
32+
<div class="contents">
33+
<p>Content under level 2</p>
34+
<p><br class="ProseMirror-trailingBreak" /></p>
35+
</div>
2736
</div>
2837
</div>
2938
</div>
@@ -33,7 +42,5 @@ <h2 class="title" level="2"><span>Level 2 Heading</span></h2>
3342
</div>
3443
</div>
3544
</div>
36-
</div>
37-
</body>
38-
45+
</body>
3946
</html>
Lines changed: 49 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,57 @@
11
<!doctype html>
22
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>index Based Selection Document</title>
7+
<link rel="stylesheet" href="../style.css" />
8+
</head>
39

4-
<head>
5-
<meta charset="UTF-8" />
6-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>index Based Selection Document</title>
8-
<link rel="stylesheet" href="../style.css" />
9-
</head>
10-
11-
<body>
12-
<div class="tiptap__editor docy_editor relative">
13-
<div contenteditable="true" spellcheck="false" translate="no" class="tiptap ProseMirror" tabindex="0">
14-
<div class="heading opened" level="1" data-type="heading" data-id="3qK67e6cea4M5ul3">
15-
<div class="wrapBlock" data-id="3qK67e6cea4M5ul3">
16-
<h1 class="title" level="1"><span>Selection By Index</span></h1>
17-
<div class="contentWrapper opened" data-type="contentWrapper">
18-
<div class="contents">
19-
<p>This is paragraph one</p>
20-
<p>This is paragraph two</p>
21-
<p>This is paragraph three</p>
22-
<div class="heading opened" level="2" data-id="KwmNlE67e6cf01h6" data-type="heading">
23-
<div class="wrapBlock" data-id="KwmNlE67e6cf01h6">
24-
<h2 class="title" level="2"><span>Heading One</span></h2>
25-
<div class="contentWrapper opened" data-type="contentWrapper">
26-
<div class="contents">
27-
<p>Content under heading one</p>
28-
<p>More content under heading one</p>
29-
<p><br class="ProseMirror-trailingBreak" /></p>
10+
<body>
11+
<div class="tiptap__editor docy_editor relative">
12+
<div
13+
contenteditable="true"
14+
spellcheck="false"
15+
translate="no"
16+
class="tiptap ProseMirror"
17+
tabindex="0">
18+
<div class="heading opened" level="1" data-type="heading" data-id="3qK67e6cea4M5ul3">
19+
<div class="wrapBlock" data-id="3qK67e6cea4M5ul3">
20+
<h1 class="title" level="1"><span>Selection By Index</span></h1>
21+
<div class="contentWrapper opened" data-type="contentWrapper">
22+
<div class="contents">
23+
<p>This is paragraph one</p>
24+
<p>This is paragraph two</p>
25+
<p>This is paragraph three</p>
26+
<div
27+
class="heading opened"
28+
level="2"
29+
data-id="KwmNlE67e6cf01h6"
30+
data-type="heading">
31+
<div class="wrapBlock" data-id="KwmNlE67e6cf01h6">
32+
<h2 class="title" level="2"><span>Heading One</span></h2>
33+
<div class="contentWrapper opened" data-type="contentWrapper">
34+
<div class="contents">
35+
<p>Content under heading one</p>
36+
<p>More content under heading one</p>
37+
<p><br class="ProseMirror-trailingBreak" /></p>
38+
</div>
3039
</div>
3140
</div>
3241
</div>
33-
</div>
34-
<div class="heading opened" level="2" data-id="HRSImx67e6cf05T6" data-type="heading">
35-
<div class="wrapBlock" data-id="HRSImx67e6cf05T6">
36-
<h2 class="title" level="2"><span>Heading Two</span></h2>
37-
<div class="contentWrapper opened" data-type="contentWrapper">
38-
<div class="contents">
39-
<p>Content under heading two</p>
40-
<p><br class="ProseMirror-trailingBreak" /></p>
41-
<p><br class="ProseMirror-trailingBreak" /></p>
42+
<div
43+
class="heading opened"
44+
level="2"
45+
data-id="HRSImx67e6cf05T6"
46+
data-type="heading">
47+
<div class="wrapBlock" data-id="HRSImx67e6cf05T6">
48+
<h2 class="title" level="2"><span>Heading Two</span></h2>
49+
<div class="contentWrapper opened" data-type="contentWrapper">
50+
<div class="contents">
51+
<p>Content under heading two</p>
52+
<p><br class="ProseMirror-trailingBreak" /></p>
53+
<p><br class="ProseMirror-trailingBreak" /></p>
54+
</div>
4255
</div>
4356
</div>
4457
</div>
@@ -48,7 +61,5 @@ <h2 class="title" level="2"><span>Heading Two</span></h2>
4861
</div>
4962
</div>
5063
</div>
51-
</div>
52-
</body>
53-
64+
</body>
5465
</html>
Lines changed: 72 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,77 @@
11
<!doctype html>
22
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>list Selection Test Document</title>
7+
<link rel="stylesheet" href="../style.css" />
8+
</head>
39

4-
<head>
5-
<meta charset="UTF-8" />
6-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>list Selection Test Document</title>
8-
<link rel="stylesheet" href="../style.css" />
9-
</head>
10-
11-
<body>
12-
<div class="tiptap__editor docy_editor relative">
13-
<div contenteditable="true" spellcheck="false" translate="no" class="tiptap ProseMirror" tabindex="0">
14-
<div class="heading opened" level="1" data-type="heading" data-id="67e6cefcgC9pTty0">
15-
<div class="wrapBlock" data-id="67e6cefcgC9pTty0">
16-
<h1 class="title" level="1"><span>List Selection Test</span></h1>
17-
<div class="contentWrapper opened" data-type="contentWrapper">
18-
<div class="contents">
19-
<p>Paragraph before lists</p>
20-
<ul>
21-
<li>
22-
<p>First bullet item</p>
23-
</li>
24-
<li>
25-
<p>Second bullet item</p>
26-
</li>
27-
<li>
28-
<p>Third bullet item</p>
29-
</li>
30-
</ul>
31-
<p>Paragraph between lists</p>
32-
<ol>
33-
<li>
34-
<p>First ordered item</p>
35-
</li>
36-
<li>
37-
<p>Second ordered item</p>
38-
</li>
39-
<li>
40-
<p>Third ordered item</p>
41-
</li>
42-
</ol>
43-
<div class="heading opened" level="2" data-id="h2lT67e6cf57cTa4" data-type="heading">
44-
<div class="wrapBlock" data-id="h2lT67e6cf57cTa4">
45-
<h2 class="title" level="2"><span>Nested List Heading</span></h2>
46-
<div class="contentWrapper opened" data-type="contentWrapper">
47-
<div class="contents">
48-
<p>Paragraph before nested list</p>
49-
<ul>
50-
<li>
51-
<p>Nested bullet one</p>
52-
<ul>
53-
<li>
54-
<p>Nested bullet two</p>
55-
</li>
56-
<li>
57-
<p>Nested bullet three</p>
58-
</li>
59-
</ul>
60-
</li>
61-
<li>
62-
<p>Nested bullet four</p>
63-
</li>
64-
</ul>
65-
<p><br class="ProseMirror-trailingBreak" /></p>
10+
<body>
11+
<div class="tiptap__editor docy_editor relative">
12+
<div
13+
contenteditable="true"
14+
spellcheck="false"
15+
translate="no"
16+
class="tiptap ProseMirror"
17+
tabindex="0">
18+
<div class="heading opened" level="1" data-type="heading" data-id="67e6cefcgC9pTty0">
19+
<div class="wrapBlock" data-id="67e6cefcgC9pTty0">
20+
<h1 class="title" level="1"><span>List Selection Test</span></h1>
21+
<div class="contentWrapper opened" data-type="contentWrapper">
22+
<div class="contents">
23+
<p>Paragraph before lists</p>
24+
<ul>
25+
<li>
26+
<p>First bullet item</p>
27+
</li>
28+
<li>
29+
<p>Second bullet item</p>
30+
</li>
31+
<li>
32+
<p>Third bullet item</p>
33+
</li>
34+
</ul>
35+
<p>Paragraph between lists</p>
36+
<ol>
37+
<li>
38+
<p>First ordered item</p>
39+
</li>
40+
<li>
41+
<p>Second ordered item</p>
42+
</li>
43+
<li>
44+
<p>Third ordered item</p>
45+
</li>
46+
</ol>
47+
<div
48+
class="heading opened"
49+
level="2"
50+
data-id="h2lT67e6cf57cTa4"
51+
data-type="heading">
52+
<div class="wrapBlock" data-id="h2lT67e6cf57cTa4">
53+
<h2 class="title" level="2"><span>Nested List Heading</span></h2>
54+
<div class="contentWrapper opened" data-type="contentWrapper">
55+
<div class="contents">
56+
<p>Paragraph before nested list</p>
57+
<ul>
58+
<li>
59+
<p>Nested bullet one</p>
60+
<ul>
61+
<li>
62+
<p>Nested bullet two</p>
63+
</li>
64+
<li>
65+
<p>Nested bullet three</p>
66+
</li>
67+
</ul>
68+
</li>
69+
<li>
70+
<p>Nested bullet four</p>
71+
</li>
72+
</ul>
73+
<p><br class="ProseMirror-trailingBreak" /></p>
74+
</div>
6675
</div>
6776
</div>
6877
</div>
@@ -72,7 +81,5 @@ <h2 class="title" level="2"><span>Nested List Heading</span></h2>
7281
</div>
7382
</div>
7483
</div>
75-
</div>
76-
</body>
77-
84+
</body>
7885
</html>

0 commit comments

Comments
 (0)