From d0f404ab74eb321ea8372d4ad60f6547373820e3 Mon Sep 17 00:00:00 2001 From: abhinavgandham Date: Mon, 30 Jun 2025 14:00:41 +1000 Subject: [PATCH 1/5] DOC-3147: Default value for option to better suit modern standards. --- modules/ROOT/pages/8.0-release-notes.adoc | 13 ++++++++++--- .../partials/configuration/pagebreak_separator.adoc | 4 ++-- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/modules/ROOT/pages/8.0-release-notes.adoc b/modules/ROOT/pages/8.0-release-notes.adoc index 7c62f25b54..ea6d8a98f7 100644 --- a/modules/ROOT/pages/8.0-release-notes.adoc +++ b/modules/ROOT/pages/8.0-release-notes.adoc @@ -121,10 +121,17 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a {productname} {release-version} also includes the following change: -// === -// #TINY-vwxyz1 +=== Changed the default value for the `pagebreak_separator` option. +// #TINY-12013 -// CCFR here. +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. + +With the release of {productname} {release-version}, this issue has been resolved by updating the default HTML value of the `pagebreak_separator` option: + +* **Old value** – `''` +* **New value** – `'
'` + +This change aligns better with modern standards and ensures that page breaks are now accurately rendered in exported documents. [[removed]] diff --git a/modules/ROOT/partials/configuration/pagebreak_separator.adoc b/modules/ROOT/partials/configuration/pagebreak_separator.adoc index e5624ca5cf..ee55be308b 100644 --- a/modules/ROOT/partials/configuration/pagebreak_separator.adoc +++ b/modules/ROOT/partials/configuration/pagebreak_separator.adoc @@ -3,7 +3,7 @@ *Type:* `+String+` -*Default value:* `+''+` +*Default value:* `+'
'+` === Example: using `+pagebreak_separator+` @@ -13,6 +13,6 @@ tinymce.init({ selector: 'textarea', // change this value according to your HTML plugins: 'pagebreak', toolbar: 'pagebreak', - pagebreak_separator: '' + pagebreak_separator: '
My page break
}); ---- From 9246cb8e4727ad63b8c751efd7b8807fa0d1b49a Mon Sep 17 00:00:00 2001 From: abhinavgandham Date: Mon, 30 Jun 2025 14:12:12 +1000 Subject: [PATCH 2/5] DOC-3147: Fixed syntax issue. --- modules/ROOT/partials/configuration/pagebreak_separator.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/partials/configuration/pagebreak_separator.adoc b/modules/ROOT/partials/configuration/pagebreak_separator.adoc index ee55be308b..2f3b5ecb34 100644 --- a/modules/ROOT/partials/configuration/pagebreak_separator.adoc +++ b/modules/ROOT/partials/configuration/pagebreak_separator.adoc @@ -13,6 +13,6 @@ tinymce.init({ selector: 'textarea', // change this value according to your HTML plugins: 'pagebreak', toolbar: 'pagebreak', - pagebreak_separator: '
My page break
+ pagebreak_separator: '
My page break
' }); ---- From 687e97111ee85e43bc43a8fb06797ce3b2a3abb5 Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Thu, 10 Jul 2025 11:55:13 +1000 Subject: [PATCH 3/5] Update modules/ROOT/partials/configuration/pagebreak_separator.adoc --- modules/ROOT/partials/configuration/pagebreak_separator.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/partials/configuration/pagebreak_separator.adoc b/modules/ROOT/partials/configuration/pagebreak_separator.adoc index 2f3b5ecb34..58bfc62fd5 100644 --- a/modules/ROOT/partials/configuration/pagebreak_separator.adoc +++ b/modules/ROOT/partials/configuration/pagebreak_separator.adoc @@ -13,6 +13,6 @@ tinymce.init({ selector: 'textarea', // change this value according to your HTML plugins: 'pagebreak', toolbar: 'pagebreak', - pagebreak_separator: '
My page break
' + pagebreak_separator: '
My page break
' }); ---- From 94dbd99bb36d03b2cd48433400ac32633cb1a64f Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Thu, 10 Jul 2025 11:55:18 +1000 Subject: [PATCH 4/5] Update modules/ROOT/partials/configuration/pagebreak_separator.adoc --- modules/ROOT/partials/configuration/pagebreak_separator.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/partials/configuration/pagebreak_separator.adoc b/modules/ROOT/partials/configuration/pagebreak_separator.adoc index 58bfc62fd5..5ba3a93393 100644 --- a/modules/ROOT/partials/configuration/pagebreak_separator.adoc +++ b/modules/ROOT/partials/configuration/pagebreak_separator.adoc @@ -3,7 +3,7 @@ *Type:* `+String+` -*Default value:* `+'
'+` +*Default value:* `+'
'+` === Example: using `+pagebreak_separator+` From d4f2570103d061bb206c31f4e18fee358d5f1263 Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Thu, 10 Jul 2025 11:55:24 +1000 Subject: [PATCH 5/5] Update modules/ROOT/pages/8.0-release-notes.adoc --- modules/ROOT/pages/8.0-release-notes.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/8.0-release-notes.adoc b/modules/ROOT/pages/8.0-release-notes.adoc index ea6d8a98f7..296127e5b0 100644 --- a/modules/ROOT/pages/8.0-release-notes.adoc +++ b/modules/ROOT/pages/8.0-release-notes.adoc @@ -129,7 +129,7 @@ In previous versions of {productname}, inserting a page break in the editor did With the release of {productname} {release-version}, this issue has been resolved by updating the default HTML value of the `pagebreak_separator` option: * **Old value** – `''` -* **New value** – `'
'` +* **New value** – `'
'` This change aligns better with modern standards and ensures that page breaks are now accurately rendered in exported documents.