From b3e60a23662e4f038014afc04c82e6c3ff56239f Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Thu, 3 Jul 2025 14:51:27 +1000 Subject: [PATCH 1/2] DOC-3147: Deprecated API. --- modules/ROOT/pages/8.0-release-notes.adoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/ROOT/pages/8.0-release-notes.adoc b/modules/ROOT/pages/8.0-release-notes.adoc index 7c62f25b54..365787f1da 100644 --- a/modules/ROOT/pages/8.0-release-notes.adoc +++ b/modules/ROOT/pages/8.0-release-notes.adoc @@ -170,6 +170,13 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a // CCFR here. +=== Deprecated `editor.selection.setContent` API +// TINY-11692 + +The `editor.selection.setContent` method has been deprecated in {productname} {release-version}. This low-level API was never intended for external use and does not guarantee consistent behavior when inserting complex content structures, such as lists. Integrators are advised to use the supported `editor.insertContent` method or the `mceInsertClipboardContent` command for reliable content insertion. + +This deprecation helps reduce confusion and aligns content insertion with {productname}'s supported APIs. + [[known-issues]] == Known issues From a45e37f74f8f9da2721bbc1f41fdd42adbc3a33e Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Mon, 14 Jul 2025 13:01:02 +1000 Subject: [PATCH 2/2] 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 365787f1da..ba4c2e353c 100644 --- a/modules/ROOT/pages/8.0-release-notes.adoc +++ b/modules/ROOT/pages/8.0-release-notes.adoc @@ -173,7 +173,7 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a === Deprecated `editor.selection.setContent` API // TINY-11692 -The `editor.selection.setContent` method has been deprecated in {productname} {release-version}. This low-level API was never intended for external use and does not guarantee consistent behavior when inserting complex content structures, such as lists. Integrators are advised to use the supported `editor.insertContent` method or the `mceInsertClipboardContent` command for reliable content insertion. +The `editor.selection.setContent` method has been deprecated in {productname} {release-version}. This low-level API was never intended for external use and does not guarantee consistent behavior when inserting complex content structures, such as lists. Integrators are advised to use the supported `editor.insertContent` method for reliable content insertion. This deprecation helps reduce confusion and aligns content insertion with {productname}'s supported APIs.