Skip to content

Commit e208e3a

Browse files
committed
Revert "DOC-3147: Default value for pagebreak_separator option to better suit modern standards. (#3780)"
This reverts commit b2a8207.
1 parent b8b510a commit e208e3a

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

modules/ROOT/pages/8.0-release-notes.adoc

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -345,17 +345,10 @@ Comments containing HTML-like content are removed from the editor's content by d
345345

346346
{productname} {release-version} also includes the following change<s>:
347347

348-
=== Changed the default value for the `pagebreak_separator` option.
349-
// #TINY-12013
350-
351-
In previous versions of {productname}, inserting a page break in the editor did not translate correctly when exporting using the xref:exportpdf.adoc[Export to PDF] plugin. Similarly, the xref:exportword.adoc[Export to Word] plugin also failed to preserve page breaks in the exported documents. As a result, exported files lacked the intended page breaks, leading to confusing output for users.
352-
353-
With the release of {productname} {release-version}, this issue has been resolved by updating the default HTML value of the `pagebreak_separator` option:
354-
355-
* **Old value** – `'<!-- pagebreak -->'`
356-
* **New value** – `'<div style="break-after: page"></div>'`
348+
// === <TINY-vwxyz 1 changelog entry>
349+
// #TINY-vwxyz1
357350

358-
This change aligns better with modern standards and ensures that page breaks are now accurately rendered in exported documents.
351+
// CCFR here.
359352

360353
=== The `pagebreak_split_block` option now defaults to `true`. When a page break is inserted, the resulting HTML output is: `<div style="break-after: page"></div>.`
361354
// #TINY-12462

modules/ROOT/partials/configuration/pagebreak_separator.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
*Type:* `+String+`
55

6-
*Default value:* `+'<div style="break-after: page"></div>'+`
6+
*Default value:* `+'<!-- pagebreak -->'+`
77

88
=== Example: using `+pagebreak_separator+`
99

@@ -13,6 +13,6 @@ tinymce.init({
1313
selector: 'textarea', // change this value according to your HTML
1414
plugins: 'pagebreak',
1515
toolbar: 'pagebreak',
16-
pagebreak_separator: '<div style="break-after: page">My page break</div>'
16+
pagebreak_separator: '<!-- my page break -->'
1717
});
1818
----

0 commit comments

Comments
 (0)