summaryrefslogtreecommitdiff
path: root/glfm_specification
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-07-13 18:09:35 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-07-13 18:09:35 +0000
commit7e064974b92de60a3ef4642905e8af98a364a7a0 (patch)
treeea95222e8b6040cd959dfe3404ee83a069bae2c7 /glfm_specification
parenta88c31d0ea1a79ca93fad357c3eb536b5e013e44 (diff)
downloadgitlab-ce-7e064974b92de60a3ef4642905e8af98a364a7a0.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'glfm_specification')
-rw-r--r--glfm_specification/example_snapshots/html.yml91
-rw-r--r--glfm_specification/example_snapshots/prosemirror_json.yml462
2 files changed, 481 insertions, 72 deletions
diff --git a/glfm_specification/example_snapshots/html.yml b/glfm_specification/example_snapshots/html.yml
index 6a9acdd03a4..8544d1bc172 100644
--- a/glfm_specification/example_snapshots/html.yml
+++ b/glfm_specification/example_snapshots/html.yml
@@ -1351,8 +1351,8 @@
<p data-sourcepos="1:1-2:3" dir="auto"><code> </code>
aaa</p>
wysiwyg: |-
- <p><code>
- aaa</code></p>
+ <p>
+ aaa</p>
04_05__leaf_blocks__fenced_code_blocks__021:
canonical: |
<pre><code>aaa
@@ -1711,8 +1711,7 @@
<p data-sourcepos="3:1-3:5"><em>foo</em></p>
</del>
wysiwyg: |-
- Error - check implementation:
- Cannot destructure property 'type' of 'this.stack.pop(...)' as it is undefined.
+ <p><em><s>foo</s></em></p>
04_06__leaf_blocks__html_blocks__021:
canonical: |
<p><del><em>foo</em></del></p>
@@ -5381,7 +5380,7 @@
static: |-
<p data-sourcepos="1:1-1:11" dir="auto"><em>(<strong>foo</strong>)</em></p>
wysiwyg: |-
- <p><em>(</em><strong>foo</strong>)</p>
+ <p><em>(</em><strong><em>foo</em></strong><em>)</em></p>
06_05__inlines__emphasis_and_strong_emphasis__044:
canonical: |
<p><strong>Gomphocarpus (<em>Gomphocarpus physocarpus</em>, syn.
@@ -5390,15 +5389,15 @@
<p data-sourcepos="1:1-2:25" dir="auto"><strong>Gomphocarpus (<em>Gomphocarpus physocarpus</em>, syn.
<em>Asclepias physocarpa</em>)</strong></p>
wysiwyg: |-
- <p><strong>Gomphocarpus (</strong><em>Gomphocarpus physocarpus</em>, syn.
- <em>Asclepias physocarpa</em>)</p>
+ <p><strong>Gomphocarpus (<em>Gomphocarpus physocarpus</em>, syn.
+ <em>Asclepias physocarpa</em>)</strong></p>
06_05__inlines__emphasis_and_strong_emphasis__045:
canonical: |
<p><strong>foo &quot;<em>bar</em>&quot; foo</strong></p>
static: |-
<p data-sourcepos="1:1-1:19" dir="auto"><strong>foo "<em>bar</em>" foo</strong></p>
wysiwyg: |-
- <p><strong>foo "</strong><em>bar</em>" foo</p>
+ <p><strong>foo "<em>bar</em>" foo</strong></p>
06_05__inlines__emphasis_and_strong_emphasis__046:
canonical: |
<p><strong>foo</strong>bar</p>
@@ -5426,7 +5425,7 @@
static: |-
<p data-sourcepos="1:1-1:11" dir="auto"><em>(<strong>foo</strong>)</em></p>
wysiwyg: |-
- <p><em>(</em><strong>foo</strong>)</p>
+ <p><em>(</em><strong><em>foo</em></strong><em>)</em></p>
06_05__inlines__emphasis_and_strong_emphasis__050:
canonical: |
<p>__foo__bar</p>
@@ -5461,7 +5460,7 @@
static: |-
<p data-sourcepos="1:1-1:17" dir="auto"><em>foo <a href="/url">bar</a></em></p>
wysiwyg: |-
- <p><em>foo </em><a target="_blank" rel="noopener noreferrer nofollow" href="/url">bar</a></p>
+ <p><em>foo </em><a target="_blank" rel="noopener noreferrer nofollow" href="/url"><em>bar</em></a></p>
06_05__inlines__emphasis_and_strong_emphasis__055:
canonical: |
<p><em>foo
@@ -5478,7 +5477,7 @@
static: |-
<p data-sourcepos="1:1-1:17" dir="auto"><em>foo <strong>bar</strong> baz</em></p>
wysiwyg: |-
- <p><em>foo </em><strong>bar</strong> baz</p>
+ <p><em>foo </em><strong><em>bar</em></strong><em> baz</em></p>
06_05__inlines__emphasis_and_strong_emphasis__057:
canonical: |
<p><em>foo <em>bar</em> baz</em></p>
@@ -5506,14 +5505,14 @@
static: |-
<p data-sourcepos="1:1-1:17" dir="auto"><em>foo <strong>bar</strong> baz</em></p>
wysiwyg: |-
- <p><em>foo </em><strong>bar</strong> baz</p>
+ <p><em>foo </em><strong><em>bar</em></strong><em> baz</em></p>
06_05__inlines__emphasis_and_strong_emphasis__061:
canonical: |
<p><em>foo<strong>bar</strong>baz</em></p>
static: |-
<p data-sourcepos="1:1-1:15" dir="auto"><em>foo<strong>bar</strong>baz</em></p>
wysiwyg: |-
- <p><em>foo</em><strong>bar</strong>baz</p>
+ <p><em>foo</em><strong><em>bar</em></strong><em>baz</em></p>
06_05__inlines__emphasis_and_strong_emphasis__062:
canonical: |
<p><em>foo**bar</em></p>
@@ -5527,21 +5526,21 @@
static: |-
<p data-sourcepos="1:1-1:13" dir="auto"><em><strong>foo</strong> bar</em></p>
wysiwyg: |-
- <p><strong><em>foo</em></strong> bar</p>
+ <p><strong><em>foo</em></strong><em> bar</em></p>
06_05__inlines__emphasis_and_strong_emphasis__064:
canonical: |
<p><em>foo <strong>bar</strong></em></p>
static: |-
<p data-sourcepos="1:1-1:13" dir="auto"><em>foo <strong>bar</strong></em></p>
wysiwyg: |-
- <p><em>foo </em><strong>bar</strong></p>
+ <p><em>foo </em><strong><em>bar</em></strong></p>
06_05__inlines__emphasis_and_strong_emphasis__065:
canonical: |
<p><em>foo<strong>bar</strong></em></p>
static: |-
<p data-sourcepos="1:1-1:12" dir="auto"><em>foo<strong>bar</strong></em></p>
wysiwyg: |-
- <p><em>foo</em><strong>bar</strong></p>
+ <p><em>foo</em><strong><em>bar</em></strong></p>
06_05__inlines__emphasis_and_strong_emphasis__066:
canonical: |
<p>foo<em><strong>bar</strong></em>baz</p>
@@ -5562,7 +5561,7 @@
static: |-
<p data-sourcepos="1:1-1:27" dir="auto"><em>foo <strong>bar <em>baz</em> bim</strong> bop</em></p>
wysiwyg: |-
- <p><em>foo </em><strong>bar </strong><em>baz</em> bim bop</p>
+ <p><em>foo </em><strong><em>bar baz</em> bim</strong> bop</p>
06_05__inlines__emphasis_and_strong_emphasis__069:
canonical: |
<p><em>foo <a href="/url"><em>bar</em></a></em></p>
@@ -5590,7 +5589,7 @@
static: |-
<p data-sourcepos="1:1-1:19" dir="auto"><strong>foo <a href="/url">bar</a></strong></p>
wysiwyg: |-
- <p><strong>foo </strong><a target="_blank" rel="noopener noreferrer nofollow" href="/url">bar</a></p>
+ <p><strong>foo </strong><a target="_blank" rel="noopener noreferrer nofollow" href="/url"><strong>bar</strong></a></p>
06_05__inlines__emphasis_and_strong_emphasis__073:
canonical: |
<p><strong>foo
@@ -5607,7 +5606,7 @@
static: |-
<p data-sourcepos="1:1-1:17" dir="auto"><strong>foo <em>bar</em> baz</strong></p>
wysiwyg: |-
- <p><strong>foo </strong><em>bar</em> baz</p>
+ <p><strong>foo <em>bar</em> baz</strong></p>
06_05__inlines__emphasis_and_strong_emphasis__075:
canonical: |
<p><strong>foo <strong>bar</strong> baz</strong></p>
@@ -5635,28 +5634,28 @@
static: |-
<p data-sourcepos="1:1-1:17" dir="auto"><strong>foo <em>bar</em> baz</strong></p>
wysiwyg: |-
- <p><strong>foo </strong><em>bar</em> baz</p>
+ <p><strong>foo <em>bar</em> baz</strong></p>
06_05__inlines__emphasis_and_strong_emphasis__079:
canonical: |
<p><strong>foo<em>bar</em>baz</strong></p>
static: |-
<p data-sourcepos="1:1-1:15" dir="auto"><strong>foo<em>bar</em>baz</strong></p>
wysiwyg: |-
- <p><strong>foo</strong><em>bar</em>baz</p>
+ <p><strong>foo<em>bar</em>baz</strong></p>
06_05__inlines__emphasis_and_strong_emphasis__080:
canonical: |
<p><strong><em>foo</em> bar</strong></p>
static: |-
<p data-sourcepos="1:1-1:13" dir="auto"><strong><em>foo</em> bar</strong></p>
wysiwyg: |-
- <p><strong><em>foo</em></strong> bar</p>
+ <p><strong><em>foo</em> bar</strong></p>
06_05__inlines__emphasis_and_strong_emphasis__081:
canonical: |
<p><strong>foo <em>bar</em></strong></p>
static: |-
<p data-sourcepos="1:1-1:13" dir="auto"><strong>foo <em>bar</em></strong></p>
wysiwyg: |-
- <p><strong>foo </strong><em>bar</em></p>
+ <p><strong>foo <em>bar</em></strong></p>
06_05__inlines__emphasis_and_strong_emphasis__082:
canonical: |
<p><strong>foo <em>bar <strong>baz</strong>
@@ -5665,15 +5664,15 @@
<p data-sourcepos="1:1-2:10" dir="auto"><strong>foo <em>bar <strong>baz</strong>
bim</em> bop</strong></p>
wysiwyg: |-
- <p><strong>foo </strong><em>bar </em><strong>baz</strong>
- bim bop</p>
+ <p><strong>foo <em>bar baz</em></strong><em>
+ bim</em> bop</p>
06_05__inlines__emphasis_and_strong_emphasis__083:
canonical: |
<p><strong>foo <a href="/url"><em>bar</em></a></strong></p>
static: |-
<p data-sourcepos="1:1-1:21" dir="auto"><strong>foo <a href="/url"><em>bar</em></a></strong></p>
wysiwyg: |-
- <p><strong>foo </strong><a target="_blank" rel="noopener noreferrer nofollow" href="/url"><em>bar</em></a></p>
+ <p><strong>foo </strong><a target="_blank" rel="noopener noreferrer nofollow" href="/url"><strong><em>bar</em></strong></a></p>
06_05__inlines__emphasis_and_strong_emphasis__084:
canonical: |
<p>__ is not an empty emphasis</p>
@@ -5932,7 +5931,7 @@
static: |-
<p data-sourcepos="1:1-1:26" dir="auto"><em>foo <strong>bar *baz bim</strong> bam</em></p>
wysiwyg: |-
- <p><em>foo </em><strong>bar *baz bim</strong> bam</p>
+ <p><em>foo </em><strong><em>bar *baz bim</em></strong><em> bam</em></p>
06_05__inlines__emphasis_and_strong_emphasis__121:
canonical: |
<p>**foo <strong>bar baz</strong></p>
@@ -5988,14 +5987,14 @@
static: |-
<p data-sourcepos="1:1-1:7" dir="auto"><em>a <code>*</code></em></p>
wysiwyg: |-
- <p><em>a </em><code>*</code></p>
+ <p><em>a <code>*</code></em></p>
06_05__inlines__emphasis_and_strong_emphasis__129:
canonical: |
<p><em>a <code>_</code></em></p>
static: |-
<p data-sourcepos="1:1-1:7" dir="auto"><em>a <code>_</code></em></p>
wysiwyg: |-
- <p><em>a </em><code>_</code></p>
+ <p><em>a <code>_</code></em></p>
06_05__inlines__emphasis_and_strong_emphasis__130:
canonical: |
<p>**a<a href="http://foo.bar/?q=**">http://foo.bar/?q=**</a></p>
@@ -6267,15 +6266,14 @@
static: |-
<p data-sourcepos="1:1-1:30" dir="auto"><a href="/uri">link <em>foo <strong>bar</strong> <code>#</code></em></a></p>
wysiwyg: |-
- <p><a target="_blank" rel="noopener noreferrer nofollow" href="/uri">link </a><em>foo </em><strong>bar</strong><code>#</code></p>
+ <p><a target="_blank" rel="noopener noreferrer nofollow" href="/uri">link <em>foo </em><strong><em>bar<code>#</code></em></strong></a></p>
06_07__inlines__links__033:
canonical: |
<p><a href="/uri"><img src="moon.jpg" alt="moon" /></a></p>
static: |-
<p data-sourcepos="1:1-1:25" dir="auto"><a href="/uri"><img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="moon" decoding="async" class="lazy" data-src="moon.jpg"></a></p>
wysiwyg: |-
- Error - check implementation:
- Cannot destructure property 'type' of 'this.stack.pop(...)' as it is undefined.
+ <p><a target="_blank" rel="noopener noreferrer nofollow" href="/uri"><img src="moon.jpg" alt="moon"></a></p>
06_07__inlines__links__034:
canonical: |
<p>[foo <a href="/uri">bar</a>](/uri)</p>
@@ -6289,7 +6287,7 @@
static: |-
<p data-sourcepos="1:1-1:37" dir="auto">[foo <em>[bar <a href="/uri">baz</a>](/uri)</em>](/uri)</p>
wysiwyg: |-
- <p>[foo <em>[bar </em><a target="_blank" rel="noopener noreferrer nofollow" href="/uri">baz</a>](/uri)](/uri)</p>
+ <p>[foo <em>[bar </em><a target="_blank" rel="noopener noreferrer nofollow" href="/uri"><em>baz</em></a><em>](/uri)</em>](/uri)</p>
06_07__inlines__links__036:
canonical: |
<p><img src="uri3" alt="[foo](uri2)" /></p>
@@ -6366,15 +6364,14 @@
static: |-
<p data-sourcepos="1:1-1:29" dir="auto"><a href="/uri">link <em>foo <strong>bar</strong> <code>#</code></em></a></p>
wysiwyg: |-
- <p><a target="_blank" rel="noopener noreferrer nofollow" href="/uri">link </a><em>foo </em><strong>bar</strong><code>#</code></p>
+ <p><a target="_blank" rel="noopener noreferrer nofollow" href="/uri">link <em>foo </em><strong><em>bar<code>#</code></em></strong></a></p>
06_07__inlines__links__047:
canonical: |
<p><a href="/uri"><img src="moon.jpg" alt="moon" /></a></p>
static: |-
<p data-sourcepos="1:1-1:24" dir="auto"><a href="/uri"><img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="moon" decoding="async" class="lazy" data-src="moon.jpg"></a></p>
wysiwyg: |-
- Error - check implementation:
- Cannot destructure property 'type' of 'this.stack.pop(...)' as it is undefined.
+ <p><a target="_blank" rel="noopener noreferrer nofollow" href="/uri"><img src="moon.jpg" alt="moon"></a></p>
06_07__inlines__links__048:
canonical: |
<p>[foo <a href="/uri">bar</a>]<a href="/uri">ref</a></p>
@@ -6388,7 +6385,7 @@
static: |-
<p data-sourcepos="1:1-1:27" dir="auto">[foo <em>bar <a href="/uri">baz</a></em>]<a href="/uri">ref</a></p>
wysiwyg: |-
- <p>[foo <em>bar </em><a target="_blank" rel="noopener noreferrer nofollow" href="/uri">baz</a>]<a target="_blank" rel="noopener noreferrer nofollow" href="/uri">ref</a></p>
+ <p>[foo <em>bar </em><a target="_blank" rel="noopener noreferrer nofollow" href="/uri"><em>baz</em></a>]<a target="_blank" rel="noopener noreferrer nofollow" href="/uri">ref</a></p>
06_07__inlines__links__050:
canonical: |
<p>*<a href="/uri">foo*</a></p>
@@ -6553,7 +6550,7 @@
static: |-
<p data-sourcepos="1:1-1:13" dir="auto"><a href="/url" title="title"><em>foo</em> bar</a></p>
wysiwyg: |-
- <p><a target="_blank" rel="noopener noreferrer nofollow" href="/url" title="title"><em>foo</em></a> bar</p>
+ <p><a target="_blank" rel="noopener noreferrer nofollow" href="/url" title="title"><em>foo</em> bar</a></p>
06_07__inlines__links__071:
canonical: |
<p><a href="/url" title="title">Foo</a></p>
@@ -6584,14 +6581,14 @@
static: |-
<p data-sourcepos="1:1-1:11" dir="auto"><a href="/url" title="title"><em>foo</em> bar</a></p>
wysiwyg: |-
- <p><a target="_blank" rel="noopener noreferrer nofollow" href="/url" title="title"><em>foo</em></a> bar</p>
+ <p><a target="_blank" rel="noopener noreferrer nofollow" href="/url" title="title"><em>foo</em> bar</a></p>
06_07__inlines__links__075:
canonical: |
<p>[<a href="/url" title="title"><em>foo</em> bar</a>]</p>
static: |-
<p data-sourcepos="1:1-1:13" dir="auto">[<a href="/url" title="title"><em>foo</em> bar</a>]</p>
wysiwyg: |-
- <p>[<a target="_blank" rel="noopener noreferrer nofollow" href="/url" title="title"><em>foo</em></a> bar]</p>
+ <p>[<a target="_blank" rel="noopener noreferrer nofollow" href="/url" title="title"><em>foo</em> bar</a>]</p>
06_07__inlines__links__076:
canonical: |
<p>[[bar <a href="/url">foo</a></p>
@@ -7301,8 +7298,8 @@
<p data-sourcepos="1:1-2:4" dir="auto"><em>foo<br>
bar</em></p>
wysiwyg: |-
- Error - check implementation:
- Cannot destructure property 'type' of 'this.stack.pop(...)' as it is undefined.
+ <p><em>foo<br>
+ bar</em></p>
06_13__inlines__hard_line_breaks__007:
canonical: |
<p><em>foo<br />
@@ -7311,8 +7308,8 @@
<p data-sourcepos="1:1-2:4" dir="auto"><em>foo<br>
bar</em></p>
wysiwyg: |-
- Error - check implementation:
- Cannot destructure property 'type' of 'this.stack.pop(...)' as it is undefined.
+ <p><em>foo<br>
+ bar</em></p>
06_13__inlines__hard_line_breaks__008:
canonical: |
<p><code>code span</code></p>
@@ -7415,11 +7412,11 @@
07_01__gitlab_specific_markdown__footnotes__001:
canonical: ""
static: |-
- <p data-sourcepos="1:1-1:27" dir="auto">footnote reference tag <sup class="footnote-ref"><a href="#fn-1-794" id="fnref-1-794" data-footnote-ref>1</a></sup></p>
+ <p data-sourcepos="1:1-1:27" dir="auto">footnote reference tag <sup class="footnote-ref"><a href="#fn-1-4719" id="fnref-1-4719" data-footnote-ref>1</a></sup></p>
<section data-footnotes class="footnotes">
<ol>
- <li id="fn-1-794">
- <p data-sourcepos="3:7-3:19">footnote text <a href="#fnref-1-794" data-footnote-backref aria-label="Back to content" class="footnote-backref"><gl-emoji title="leftwards arrow with hook" data-name="leftwards_arrow_with_hook" data-unicode-version="1.1">↩</gl-emoji></a></p>
+ <li id="fn-1-4719">
+ <p data-sourcepos="3:7-3:19">footnote text <a href="#fnref-1-4719" data-footnote-backref aria-label="Back to content" class="footnote-backref"><gl-emoji title="leftwards arrow with hook" data-name="leftwards_arrow_with_hook" data-unicode-version="1.1">↩</gl-emoji></a></p>
</li>
</ol>
</section>
diff --git a/glfm_specification/example_snapshots/prosemirror_json.yml b/glfm_specification/example_snapshots/prosemirror_json.yml
index 85d499ef552..f0bc20ca1ed 100644
--- a/glfm_specification/example_snapshots/prosemirror_json.yml
+++ b/glfm_specification/example_snapshots/prosemirror_json.yml
@@ -2667,11 +2667,6 @@
"content": [
{
"type": "text",
- "marks": [
- {
- "type": "code"
- }
- ],
"text": "\naaa"
}
]
@@ -3259,8 +3254,28 @@
]
}
04_06__leaf_blocks__html_blocks__020: |-
- Error - check implementation:
- Cannot destructure property 'type' of 'this.stack.pop(...)' as it is undefined.
+ {
+ "type": "doc",
+ "content": [
+ {
+ "type": "paragraph",
+ "content": [
+ {
+ "type": "text",
+ "marks": [
+ {
+ "type": "italic"
+ },
+ {
+ "type": "strike"
+ }
+ ],
+ "text": "foo"
+ }
+ ]
+ }
+ ]
+ }
04_06__leaf_blocks__html_blocks__021: |-
{
"type": "doc",
@@ -11691,12 +11706,20 @@
"marks": [
{
"type": "bold"
+ },
+ {
+ "type": "italic"
}
],
"text": "foo"
},
{
"type": "text",
+ "marks": [
+ {
+ "type": "italic"
+ }
+ ],
"text": ")"
}
]
@@ -11723,6 +11746,9 @@
"type": "text",
"marks": [
{
+ "type": "bold"
+ },
+ {
"type": "italic"
}
],
@@ -11730,12 +11756,20 @@
},
{
"type": "text",
+ "marks": [
+ {
+ "type": "bold"
+ }
+ ],
"text": ", syn.\n"
},
{
"type": "text",
"marks": [
{
+ "type": "bold"
+ },
+ {
"type": "italic"
}
],
@@ -11743,6 +11777,11 @@
},
{
"type": "text",
+ "marks": [
+ {
+ "type": "bold"
+ }
+ ],
"text": ")"
}
]
@@ -11769,6 +11808,9 @@
"type": "text",
"marks": [
{
+ "type": "bold"
+ },
+ {
"type": "italic"
}
],
@@ -11776,6 +11818,11 @@
},
{
"type": "text",
+ "marks": [
+ {
+ "type": "bold"
+ }
+ ],
"text": "\" foo"
}
]
@@ -11857,12 +11904,20 @@
"marks": [
{
"type": "bold"
+ },
+ {
+ "type": "italic"
}
],
"text": "foo"
},
{
"type": "text",
+ "marks": [
+ {
+ "type": "italic"
+ }
+ ],
"text": ")"
}
]
@@ -11971,6 +12026,9 @@
"title": null,
"canonicalSrc": null
}
+ },
+ {
+ "type": "italic"
}
],
"text": "bar"
@@ -12020,12 +12078,20 @@
"marks": [
{
"type": "bold"
+ },
+ {
+ "type": "italic"
}
],
"text": "bar"
},
{
"type": "text",
+ "marks": [
+ {
+ "type": "italic"
+ }
+ ],
"text": " baz"
}
]
@@ -12121,12 +12187,20 @@
"marks": [
{
"type": "bold"
+ },
+ {
+ "type": "italic"
}
],
"text": "bar"
},
{
"type": "text",
+ "marks": [
+ {
+ "type": "italic"
+ }
+ ],
"text": " baz"
}
]
@@ -12154,12 +12228,20 @@
"marks": [
{
"type": "bold"
+ },
+ {
+ "type": "italic"
}
],
"text": "bar"
},
{
"type": "text",
+ "marks": [
+ {
+ "type": "italic"
+ }
+ ],
"text": "baz"
}
]
@@ -12207,6 +12289,11 @@
},
{
"type": "text",
+ "marks": [
+ {
+ "type": "italic"
+ }
+ ],
"text": " bar"
}
]
@@ -12234,6 +12321,9 @@
"marks": [
{
"type": "bold"
+ },
+ {
+ "type": "italic"
}
],
"text": "bar"
@@ -12263,6 +12353,9 @@
"marks": [
{
"type": "bold"
+ },
+ {
+ "type": "italic"
}
],
"text": "bar"
@@ -12351,22 +12444,25 @@
"marks": [
{
"type": "bold"
+ },
+ {
+ "type": "italic"
}
],
- "text": "bar "
+ "text": "bar baz"
},
{
"type": "text",
"marks": [
{
- "type": "italic"
+ "type": "bold"
}
],
- "text": "baz"
+ "text": " bim"
},
{
"type": "text",
- "text": " bim bop"
+ "text": " bop"
}
]
}
@@ -12469,6 +12565,9 @@
"title": null,
"canonicalSrc": null
}
+ },
+ {
+ "type": "bold"
}
],
"text": "bar"
@@ -12517,6 +12616,9 @@
"type": "text",
"marks": [
{
+ "type": "bold"
+ },
+ {
"type": "italic"
}
],
@@ -12524,6 +12626,11 @@
},
{
"type": "text",
+ "marks": [
+ {
+ "type": "bold"
+ }
+ ],
"text": " baz"
}
]
@@ -12618,6 +12725,9 @@
"type": "text",
"marks": [
{
+ "type": "bold"
+ },
+ {
"type": "italic"
}
],
@@ -12625,6 +12735,11 @@
},
{
"type": "text",
+ "marks": [
+ {
+ "type": "bold"
+ }
+ ],
"text": " baz"
}
]
@@ -12651,6 +12766,9 @@
"type": "text",
"marks": [
{
+ "type": "bold"
+ },
+ {
"type": "italic"
}
],
@@ -12658,6 +12776,11 @@
},
{
"type": "text",
+ "marks": [
+ {
+ "type": "bold"
+ }
+ ],
"text": "baz"
}
]
@@ -12685,6 +12808,11 @@
},
{
"type": "text",
+ "marks": [
+ {
+ "type": "bold"
+ }
+ ],
"text": " bar"
}
]
@@ -12711,6 +12839,9 @@
"type": "text",
"marks": [
{
+ "type": "bold"
+ },
+ {
"type": "italic"
}
],
@@ -12740,23 +12871,26 @@
"type": "text",
"marks": [
{
+ "type": "bold"
+ },
+ {
"type": "italic"
}
],
- "text": "bar "
+ "text": "bar baz"
},
{
"type": "text",
"marks": [
{
- "type": "bold"
+ "type": "italic"
}
],
- "text": "baz"
+ "text": "\nbim"
},
{
"type": "text",
- "text": "\nbim bop"
+ "text": " bop"
}
]
}
@@ -12792,6 +12926,9 @@
}
},
{
+ "type": "bold"
+ },
+ {
"type": "italic"
}
],
@@ -13602,12 +13739,20 @@
"marks": [
{
"type": "bold"
+ },
+ {
+ "type": "italic"
}
],
"text": "bar *baz bim"
},
{
"type": "text",
+ "marks": [
+ {
+ "type": "italic"
+ }
+ ],
"text": " bam"
}
]
@@ -13799,6 +13944,9 @@
"type": "text",
"marks": [
{
+ "type": "italic"
+ },
+ {
"type": "code"
}
],
@@ -13828,6 +13976,9 @@
"type": "text",
"marks": [
{
+ "type": "italic"
+ },
+ {
"type": "code"
}
],
@@ -14770,6 +14921,16 @@
"type": "text",
"marks": [
{
+ "type": "link",
+ "attrs": {
+ "href": "/uri",
+ "target": "_blank",
+ "class": null,
+ "title": null,
+ "canonicalSrc": null
+ }
+ },
+ {
"type": "italic"
}
],
@@ -14779,7 +14940,20 @@
"type": "text",
"marks": [
{
+ "type": "link",
+ "attrs": {
+ "href": "/uri",
+ "target": "_blank",
+ "class": null,
+ "title": null,
+ "canonicalSrc": null
+ }
+ },
+ {
"type": "bold"
+ },
+ {
+ "type": "italic"
}
],
"text": "bar"
@@ -14788,6 +14962,22 @@
"type": "text",
"marks": [
{
+ "type": "link",
+ "attrs": {
+ "href": "/uri",
+ "target": "_blank",
+ "class": null,
+ "title": null,
+ "canonicalSrc": null
+ }
+ },
+ {
+ "type": "bold"
+ },
+ {
+ "type": "italic"
+ },
+ {
"type": "code"
}
],
@@ -14798,8 +14988,38 @@
]
}
06_07__inlines__links__033: |-
- Error - check implementation:
- Cannot destructure property 'type' of 'this.stack.pop(...)' as it is undefined.
+ {
+ "type": "doc",
+ "content": [
+ {
+ "type": "paragraph",
+ "content": [
+ {
+ "type": "image",
+ "attrs": {
+ "src": "moon.jpg",
+ "alt": "moon",
+ "title": null,
+ "uploading": false,
+ "canonicalSrc": null
+ },
+ "marks": [
+ {
+ "type": "link",
+ "attrs": {
+ "href": "/uri",
+ "target": "_blank",
+ "class": null,
+ "title": null,
+ "canonicalSrc": null
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
06_07__inlines__links__034: |-
{
"type": "doc",
@@ -14867,13 +15087,25 @@
"title": null,
"canonicalSrc": null
}
+ },
+ {
+ "type": "italic"
}
],
"text": "baz"
},
{
"type": "text",
- "text": "](/uri)](/uri)"
+ "marks": [
+ {
+ "type": "italic"
+ }
+ ],
+ "text": "](/uri)"
+ },
+ {
+ "type": "text",
+ "text": "](/uri)"
}
]
}
@@ -15160,6 +15392,16 @@
"type": "text",
"marks": [
{
+ "type": "link",
+ "attrs": {
+ "href": "/uri",
+ "target": "_blank",
+ "class": null,
+ "title": null,
+ "canonicalSrc": null
+ }
+ },
+ {
"type": "italic"
}
],
@@ -15169,7 +15411,20 @@
"type": "text",
"marks": [
{
+ "type": "link",
+ "attrs": {
+ "href": "/uri",
+ "target": "_blank",
+ "class": null,
+ "title": null,
+ "canonicalSrc": null
+ }
+ },
+ {
"type": "bold"
+ },
+ {
+ "type": "italic"
}
],
"text": "bar"
@@ -15178,6 +15433,22 @@
"type": "text",
"marks": [
{
+ "type": "link",
+ "attrs": {
+ "href": "/uri",
+ "target": "_blank",
+ "class": null,
+ "title": null,
+ "canonicalSrc": null
+ }
+ },
+ {
+ "type": "bold"
+ },
+ {
+ "type": "italic"
+ },
+ {
"type": "code"
}
],
@@ -15188,8 +15459,38 @@
]
}
06_07__inlines__links__047: |-
- Error - check implementation:
- Cannot destructure property 'type' of 'this.stack.pop(...)' as it is undefined.
+ {
+ "type": "doc",
+ "content": [
+ {
+ "type": "paragraph",
+ "content": [
+ {
+ "type": "image",
+ "attrs": {
+ "src": "moon.jpg",
+ "alt": "moon",
+ "title": null,
+ "uploading": false,
+ "canonicalSrc": null
+ },
+ "marks": [
+ {
+ "type": "link",
+ "attrs": {
+ "href": "/uri",
+ "target": "_blank",
+ "class": null,
+ "title": null,
+ "canonicalSrc": null
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
06_07__inlines__links__048: |-
{
"type": "doc",
@@ -15273,6 +15574,9 @@
"title": null,
"canonicalSrc": null
}
+ },
+ {
+ "type": "italic"
}
],
"text": "baz"
@@ -15847,6 +16151,18 @@
},
{
"type": "text",
+ "marks": [
+ {
+ "type": "link",
+ "attrs": {
+ "href": "/url",
+ "target": "_blank",
+ "class": null,
+ "title": "title",
+ "canonicalSrc": null
+ }
+ }
+ ],
"text": " bar"
}
]
@@ -15966,6 +16282,18 @@
},
{
"type": "text",
+ "marks": [
+ {
+ "type": "link",
+ "attrs": {
+ "href": "/url",
+ "target": "_blank",
+ "class": null,
+ "title": "title",
+ "canonicalSrc": null
+ }
+ }
+ ],
"text": " bar"
}
]
@@ -16004,7 +16332,23 @@
},
{
"type": "text",
- "text": " bar]"
+ "marks": [
+ {
+ "type": "link",
+ "attrs": {
+ "href": "/url",
+ "target": "_blank",
+ "class": null,
+ "title": "title",
+ "canonicalSrc": null
+ }
+ }
+ ],
+ "text": " bar"
+ },
+ {
+ "type": "text",
+ "text": "]"
}
]
}
@@ -18256,11 +18600,79 @@
]
}
06_13__inlines__hard_line_breaks__006: |-
- Error - check implementation:
- Cannot destructure property 'type' of 'this.stack.pop(...)' as it is undefined.
+ {
+ "type": "doc",
+ "content": [
+ {
+ "type": "paragraph",
+ "content": [
+ {
+ "type": "text",
+ "marks": [
+ {
+ "type": "italic"
+ }
+ ],
+ "text": "foo"
+ },
+ {
+ "type": "hardBreak",
+ "marks": [
+ {
+ "type": "italic"
+ }
+ ]
+ },
+ {
+ "type": "text",
+ "marks": [
+ {
+ "type": "italic"
+ }
+ ],
+ "text": "\nbar"
+ }
+ ]
+ }
+ ]
+ }
06_13__inlines__hard_line_breaks__007: |-
- Error - check implementation:
- Cannot destructure property 'type' of 'this.stack.pop(...)' as it is undefined.
+ {
+ "type": "doc",
+ "content": [
+ {
+ "type": "paragraph",
+ "content": [
+ {
+ "type": "text",
+ "marks": [
+ {
+ "type": "italic"
+ }
+ ],
+ "text": "foo"
+ },
+ {
+ "type": "hardBreak",
+ "marks": [
+ {
+ "type": "italic"
+ }
+ ]
+ },
+ {
+ "type": "text",
+ "marks": [
+ {
+ "type": "italic"
+ }
+ ],
+ "text": "\nbar"
+ }
+ ]
+ }
+ ]
+ }
06_13__inlines__hard_line_breaks__008: |-
{
"type": "doc",