What are the differences between CK4 and CK5 text editor, from both an API and user perspective? #1219
Replies: 3 comments 8 replies
-
@heinrich-ulbricht : I'm OOF, but here's already a short answer: things should be backwards compatible |
Beta Was this translation helpful? Give feedback.
-
@jansenbe I'd like to dive deeper into this topic of the new CK5 page version to understand it. I'm thinking about what a client application should change when creating pages programmatically, to create proper CK5 pages. Currently the PnP Framework is used to create pages. First question up front: are those CK5 pages GA and being used on the way forward in all tenants? First steps to adjusting a client application I could imagine:
Does this sound right? |
Beta Was this translation helpful? Give feedback.
-
It seems like the SharePoint editor converts CK4 pages in-place to CK5 when editing them in the browser! @jansenbe Can you confirm that? And it screws up tables during this process. Tables used to be wrapped in a Is there any information about this conversion process from CK4 to CK5? Are the CK5 pages GA? Is there any technical documentation about this transition, or is this considered "internal details" that the users don't have to worry about? (But they should, as their content might change.) Edit: I can confirm different behaviors on different tenants. Developer tenant: a CK4 page is saved back as CK5 as soon as its edited in the browser. This screws up table formatting. I think I'm going to create a ticket for that. |
Beta Was this translation helpful? Give feedback.
-
With the latest release I see code that differentiates between the CKEditor versions used for the text web part.
So far the CKEditor v4 (CK4) seemed to be used, now it's possible that there is v5 (CK5) as well.
Since I'm in the business of generating 1000s of pages with my Confluence to SharePoint migration tool this is of high interest for me 😃
From an API perspective:
I see a rather big change regarding inline images here:
pnpcore/src/sdk/PnP.Core.Test/SharePoint/PagesTests.cs
Lines 1460 to 1461 in bf2be7b
Currently with CK4 hidden image web parts need to be generated. What would be the equivalent for CK5? I assume at least for this topic it's quite important to adhere to the page's editor version.
Are there other topics like the inline images that change quite dramatically between CK4 and CK5?
And from an end user perspective: what's new with CK5 that can be created programmatically (looking for table cell colors, merged table cells, nested tables, nested web parts, etc. pp.)?
And is there anything that an app generating pages using either PnP.Core or PnP.Framework should change immediately to not break something?
An insights are appreciated!
Beta Was this translation helpful? Give feedback.
All reactions