Files
sm-journal-plugin/tests/blogeditor/fixtures/imported-post.html
Jakub Zych 47f3032dcf feat(editor): blog editor element with exact untouched value
- golem15-journal-blogeditor (BlogEditorElement): light-DOM element with a
  TipTap WYSIWYG tab and a Source tab that edits the exact HTML string
- The value is the exact served string until a user edit; external values
  go in with emitUpdate false; summer-change fires on user edits only and
  an echo set is a no-op
- StarterKit without the trailing node, links without target, rel or class;
  injectCSS false with the ProseMirror base rules in blogeditor.css under
  the element tag, colours from --c-* only
- Committed bundle embedded through admin.go; vitest smoke on an imported
  post fixture (footer, style block, spans, figure, table, entities)
2026-10-10 11:35:51 +02:00

49 lines
2.3 KiB
HTML

<h2>Czym jest ekstrakt z Turkey Tail?</h2>
<p>Turkey Tail (<em>Trametes versicolor</em>, wrośniak różnobarwny) to jeden z najlepiej przebadanych grzybów funkcjonalnych. Ekstrakt powstaje z <strong>owocników</strong> poddanych ekstrakcji gorącą wodą, która uwalnia beta-glukany.</p>
<h3>Najważniejsze związki aktywne</h3>
<ul>
<li><strong>PSK</strong> (polisacharyd K, krestin)</li>
<li><strong>PSP</strong> (polisacharopeptyd)</li>
<li>Beta-glukany i antyoksydanty fenolowe</li>
</ul>
<h3>Jak stosować?</h3>
<ol>
<li>Zacznij od mniejszej porcji przez pierwszy tydzień.</li>
<li>Przyjmuj ekstrakt z posiłkiem.</li>
<li>Obserwuj reakcję organizmu i skonsultuj się z lekarzem.</li>
</ol>
<blockquote>
<p>Grzyby funkcjonalne wspierają organizm, ale nie zastępują leczenia.</p>
</blockquote>
<p>Więcej przeczytasz w <a href="/blog/beta-glukany">artykule o beta-glukanach</a> &amp; <a href="https://example.test/badania">przeglądzie badań</a>.</p>
<p>Data: 12.03 &ndash; aktualizacja opisu&nbsp;dawkowania.</p>
<footer class="author-footer" itemscope itemtype="https://schema.org/Person">
<div class="author-info">
<img src="https://cdn.example.test/autor.png" alt="Autor" class="author-photo" itemprop="image">
<div class="author-text">
<div style="font-size: 1.5em; font-weight: bold;" itemprop="name">Jan Kowalski</div>
<span style="color: #138c74;" itemprop="jobTitle">Ekspert od grzybów funkcjonalnych</span>
<p itemprop="description">Od lat zajmuje się mykologią i suplementacją.</p>
</div>
</div>
</footer>
<style>
.author-footer { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #ddd; }
.author-info { display: flex; align-items: center; gap: 1rem; }
.author-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
</style>
<table>
<thead>
<tr><th>Forma</th><th>Dawka</th></tr>
</thead>
<tbody>
<tr><td>Proszek</td><td>1&ndash;2 g</td></tr>
<tr><td>Kapsułki</td><td>2 &times; 500 mg</td></tr>
</tbody>
</table>
<figure><img src="/storage/app/uploads/public/journal/2026/turkey-tail.jpg" alt="Owocniki Turkey Tail na pniu"><figcaption>Owocniki wrośniaka różnobarwnego.</figcaption></figure>
<p>Zobacz też <a href="https://example.test/sklep" target="_blank" rel="noopener">sklep z ekstraktami</a>.</p>
<p>Producent nazywa go &quot;grzybem odporności&quot;, a badacze &quot;wrośniakiem&quot;.</p>