// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`Adding a new codeblock & changing the language should apply the new highlighting 1`] = `"<div><div contenteditable="true" translate="no" class="tiptap ProseMirror" tabindex="0"><div class="codeblock-view-content-wrap"><pre class="node-content-wrapper language-xyz" style="white-space: pre; min-width: 20px;"><span class="token keyword">function</span> <span class="token function">hello</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token punctuation">{</span> <span class="token punctuation">}</span></pre></div></div></div>"`;

exports[`Toggling from a codeblock should make codeblock disappear 1`] = `"<div><div contenteditable="true" translate="no" class="tiptap ProseMirror" tabindex="0"><p><span class="token keyword">function</span> <span class="token function">hello</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token punctuation">{</span> <span class="token punctuation">}</span></p><p><span class="token keyword">function</span> <span class="token function">hello</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token punctuation">{</span> <span class="token punctuation">}</span></p></div></div>"`;

exports[`Toggling multiple paragraphs into a codeblock should make one codeblock 1`] = `"<div><div contenteditable="true" translate="no" class="tiptap ProseMirror" tabindex="0"><div class="codeblock-view-content-wrap"><pre class="node-content-wrapper language-xyz" style="white-space: pre; min-width: 20px;"><span class="token keyword">function</span> <span class="token function">helloWorld</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token punctuation">{</span> console<span class="token punctuation">.</span><span class="token function">log</span><span class="token punctuation">(</span><span class="token string">'Hello, World!'</span><span class="token punctuation">)</span><span class="token punctuation">;</span> <span class="token punctuation">}</span></pre></div></div></div>"`;

exports[`codeblocks should get highlighted after pasting 1`] = `"<div><div contenteditable="true" translate="no" class="tiptap ProseMirror" tabindex="0"><div class="codeblock-view-content-wrap"><pre class="node-content-wrapper language-javascript" style="white-space: pre; min-width: 20px;"><span class="token keyword">function</span> <span class="token function">hello</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token punctuation">{</span> <span class="token punctuation">}</span></pre></div><div class="codeblock-view-content-wrap"><pre class="node-content-wrapper language-typescript" style="white-space: pre; min-width: 20px;"><span class="token keyword">function</span> <span class="token function">hello</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token punctuation">{</span> <span class="token punctuation">}</span></pre></div></div></div>"`;

exports[`codeblocks should get highlighted on init 1`] = `"<div><div contenteditable="true" translate="no" class="tiptap ProseMirror" tabindex="0"><div class="codeblock-view-content-wrap"><pre class="node-content-wrapper language-javascript" style="white-space: pre; min-width: 20px;"><span class="token keyword">function</span> <span class="token function">hello</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token punctuation">{</span> <span class="token punctuation">}</span></pre></div><div class="codeblock-view-content-wrap"><pre class="node-content-wrapper language-typescript" style="white-space: pre; min-width: 20px;"><span class="token keyword">function</span> <span class="token function">hello</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token punctuation">{</span> <span class="token punctuation">}</span></pre></div></div></div>"`;

exports[`codeblocks should not be updated if other content is changed 1`] = `"<div><div contenteditable="true" translate="no" class="tiptap ProseMirror" tabindex="0"><div class="codeblock-view-content-wrap"><pre class="node-content-wrapper language-javascript" style="white-space: pre; min-width: 20px;"><span class="token keyword">function</span> <span class="token function">hello</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token punctuation">{</span> <span class="token punctuation">}</span></pre></div><div class="codeblock-view-content-wrap"><pre class="node-content-wrapper language-typescript" style="white-space: pre; min-width: 20px;"><span class="token keyword">function</span> <span class="token function">hello</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token punctuation">{</span> <span class="token punctuation">}</span></pre></div><p>A new paragraph.</p></div></div>"`;

exports[`editing code in a highlighted code block should not be too slow 1`] = `"<div><div contenteditable="true" translate="no" class="tiptap ProseMirror" tabindex="0"><div class="codeblock-view-content-wrap"><pre class="node-content-wrapper language-javascript" style="white-space: pre; min-width: 20px;"><span class="token keyword">function</span> <span class="token function">hello</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token punctuation">{</span> <span class="token punctuation">}</span></pre></div><div class="codeblock-view-content-wrap"><pre class="node-content-wrapper language-typescript" style="white-space: pre; min-width: 20px;"><span class="token keyword">function</span> <span class="token function">hello</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token punctuation">{</span> <span class="token punctuation">}</span><span class="token keyword">const</span> hello0 <span class="token operator">=</span> <span class="token number">0</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello1 <span class="token operator">=</span> <span class="token number">1</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello2 <span class="token operator">=</span> <span class="token number">2</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello3 <span class="token operator">=</span> <span class="token number">3</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello4 <span class="token operator">=</span> <span class="token number">4</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello5 <span class="token operator">=</span> <span class="token number">5</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello6 <span class="token operator">=</span> <span class="token number">6</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello7 <span class="token operator">=</span> <span class="token number">7</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello8 <span class="token operator">=</span> <span class="token number">8</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello9 <span class="token operator">=</span> <span class="token number">9</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello10 <span class="token operator">=</span> <span class="token number">10</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello11 <span class="token operator">=</span> <span class="token number">11</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello12 <span class="token operator">=</span> <span class="token number">12</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello13 <span class="token operator">=</span> <span class="token number">13</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello14 <span class="token operator">=</span> <span class="token number">14</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello15 <span class="token operator">=</span> <span class="token number">15</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello16 <span class="token operator">=</span> <span class="token number">16</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello17 <span class="token operator">=</span> <span class="token number">17</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello18 <span class="token operator">=</span> <span class="token number">18</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello19 <span class="token operator">=</span> <span class="token number">19</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello20 <span class="token operator">=</span> <span class="token number">20</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello21 <span class="token operator">=</span> <span class="token number">21</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello22 <span class="token operator">=</span> <span class="token number">22</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello23 <span class="token operator">=</span> <span class="token number">23</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello24 <span class="token operator">=</span> <span class="token number">24</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello25 <span class="token operator">=</span> <span class="token number">25</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello26 <span class="token operator">=</span> <span class="token number">26</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello27 <span class="token operator">=</span> <span class="token number">27</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello28 <span class="token operator">=</span> <span class="token number">28</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello29 <span class="token operator">=</span> <span class="token number">29</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello30 <span class="token operator">=</span> <span class="token number">30</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello31 <span class="token operator">=</span> <span class="token number">31</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello32 <span class="token operator">=</span> <span class="token number">32</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello33 <span class="token operator">=</span> <span class="token number">33</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello34 <span class="token operator">=</span> <span class="token number">34</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello35 <span class="token operator">=</span> <span class="token number">35</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello36 <span class="token operator">=</span> <span class="token number">36</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello37 <span class="token operator">=</span> <span class="token number">37</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello38 <span class="token operator">=</span> <span class="token number">38</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello39 <span class="token operator">=</span> <span class="token number">39</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello40 <span class="token operator">=</span> <span class="token number">40</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello41 <span class="token operator">=</span> <span class="token number">41</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello42 <span class="token operator">=</span> <span class="token number">42</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello43 <span class="token operator">=</span> <span class="token number">43</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello44 <span class="token operator">=</span> <span class="token number">44</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello45 <span class="token operator">=</span> <span class="token number">45</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello46 <span class="token operator">=</span> <span class="token number">46</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello47 <span class="token operator">=</span> <span class="token number">47</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello48 <span class="token operator">=</span> <span class="token number">48</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello49 <span class="token operator">=</span> <span class="token number">49</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello50 <span class="token operator">=</span> <span class="token number">50</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello51 <span class="token operator">=</span> <span class="token number">51</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello52 <span class="token operator">=</span> <span class="token number">52</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello53 <span class="token operator">=</span> <span class="token number">53</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello54 <span class="token operator">=</span> <span class="token number">54</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello55 <span class="token operator">=</span> <span class="token number">55</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello56 <span class="token operator">=</span> <span class="token number">56</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello57 <span class="token operator">=</span> <span class="token number">57</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello58 <span class="token operator">=</span> <span class="token number">58</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello59 <span class="token operator">=</span> <span class="token number">59</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello60 <span class="token operator">=</span> <span class="token number">60</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello61 <span class="token operator">=</span> <span class="token number">61</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello62 <span class="token operator">=</span> <span class="token number">62</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello63 <span class="token operator">=</span> <span class="token number">63</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello64 <span class="token operator">=</span> <span class="token number">64</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello65 <span class="token operator">=</span> <span class="token number">65</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello66 <span class="token operator">=</span> <span class="token number">66</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello67 <span class="token operator">=</span> <span class="token number">67</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello68 <span class="token operator">=</span> <span class="token number">68</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello69 <span class="token operator">=</span> <span class="token number">69</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello70 <span class="token operator">=</span> <span class="token number">70</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello71 <span class="token operator">=</span> <span class="token number">71</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello72 <span class="token operator">=</span> <span class="token number">72</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello73 <span class="token operator">=</span> <span class="token number">73</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello74 <span class="token operator">=</span> <span class="token number">74</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello75 <span class="token operator">=</span> <span class="token number">75</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello76 <span class="token operator">=</span> <span class="token number">76</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello77 <span class="token operator">=</span> <span class="token number">77</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello78 <span class="token operator">=</span> <span class="token number">78</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello79 <span class="token operator">=</span> <span class="token number">79</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello80 <span class="token operator">=</span> <span class="token number">80</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello81 <span class="token operator">=</span> <span class="token number">81</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello82 <span class="token operator">=</span> <span class="token number">82</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello83 <span class="token operator">=</span> <span class="token number">83</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello84 <span class="token operator">=</span> <span class="token number">84</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello85 <span class="token operator">=</span> <span class="token number">85</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello86 <span class="token operator">=</span> <span class="token number">86</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello87 <span class="token operator">=</span> <span class="token number">87</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello88 <span class="token operator">=</span> <span class="token number">88</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello89 <span class="token operator">=</span> <span class="token number">89</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello90 <span class="token operator">=</span> <span class="token number">90</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello91 <span class="token operator">=</span> <span class="token number">91</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello92 <span class="token operator">=</span> <span class="token number">92</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello93 <span class="token operator">=</span> <span class="token number">93</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello94 <span class="token operator">=</span> <span class="token number">94</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello95 <span class="token operator">=</span> <span class="token number">95</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello96 <span class="token operator">=</span> <span class="token number">96</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello97 <span class="token operator">=</span> <span class="token number">97</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello98 <span class="token operator">=</span> <span class="token number">98</span><span class="token punctuation">;</span><span class="token keyword">const</span> hello99 <span class="token operator">=</span> <span class="token number">99</span><span class="token punctuation">;</span></pre></div></div></div>"`;

exports[`pasting code from vscode should automatically create a syntax highlighted codeblock 1`] = `
"<div><div contenteditable="true" translate="no" class="tiptap ProseMirror" tabindex="0"><div class="codeblock-view-content-wrap"><pre class="node-content-wrapper language-javascript" style="white-space: pre; min-width: 20px;"><span class="token keyword">function</span> <span class="token function">hello</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
<span class="token punctuation">{</span>
  <span class="token keyword">const</span> world <span class="token operator">=</span> <span class="token string">"hello"</span><span class="token punctuation">;</span>
<span class="token punctuation">}</span></pre></div></div></div>"
`;
