Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-09-30T16:11:21.257Z
Answers.LastActivityDate: 2023-09-30T16:11:21.257Z
Answers.UserDisplayName: Grabius
Body: <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>
  
Tags: <ckeditor5>
Title: Page Breaks in CKEditor
ThreadText: # 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('<div class="page-break" style="page-break-after:always;">')|first()|raw}}
  
  {{entry.myCKEditorField|split('<div class="page-break" style="page-break-after:always;">')|last()|raw}}
  
  ```
  
  
  ---
  
  