Skip to content

Support pasting page breaks #2508

Closed
@mlewand

Description

Is this a bug report or feature request?

🆕 Feature request

💻 Version of CKEditor

CKEditor v5 @ 12.4.0

📋 Steps to reproduce

Once #1194 is done we should add a converter for page breaks coming from MS Office.

To save you the trouble I'll paste here an example markup that is placed in Chrome from Word 2013 (note it would be nice to verify with the latest release, didn't had one at hand now):

<p class=MsoNormal>First line, followed by break line:<o:p></o:p>
</p>

<span style='font-size:11.0pt;line-height:107%;font-family:"Calibri",sans-serif;
mso-ascii-theme-font:minor-latin;mso-fareast-font-family:"MS Mincho";
mso-fareast-theme-font:minor-fareast;mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";mso-bidi-theme-font:minor-bidi;
mso-ansi-language:EN-US;mso-fareast-language:JA;mso-bidi-language:AR-SA'><br clear=all
		style='mso-special-character:line-break;page-break-before:always'>
</span>

<p class=MsoNormal>
	<o:p>&nbsp;</o:p>
</p>

So it boils down to recognizing <br clear=all style='mso-special-character:line-break;page-break-before:always'>.


If you'd like to see this feature implemented, add 👍 to this post.

Metadata

Assignees

Labels

package:paste-from-officesupport:3An issue reported by a commercially licensed client.type:featureThis issue reports a feature request (an idea for a new functionality or a missing option).

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions