<p>Figured it out:</p>
<pre><code>{{entry.myCKEditorField|split('&lt;div class=&quot;page-break&quot; style=&quot;page-break-after:always;&quot;&gt;')|first()|raw}}

{{entry.myCKEditorField|split('&lt;div class=&quot;page-break&quot; style=&quot;page-break-after:always;&quot;&gt;')|last()|raw}}
</code></pre>

CC BY-SA 4.0
2023-09-30T16:11:21.257Z
2023-09-30T16:11:21.257Z
Grabius
<p>I've added a page break in my CKEditor field. When I output the field in my template it dumps everything in the field. How do I withhold the content after the page break?</p>

<ckeditor5>
Page Breaks in CKEditor
# Page Breaks in CKEditor

(Asked by: username_0 on 2023-09-29)

I've added a page break in my CKEditor field. When I output the field in my template it dumps everything in the field. How do I withhold the content after the page break?

**Tags:** ckeditor5

---

## 1 answers

### Answer by username_0 on 2023-09-30. Score: 1

Figured it out:
{{entry.myCKEditorField|split('')|first()|raw}}

{{entry.myCKEditorField|split('')|last()|raw}}


---

