From 4fc7fadb46e8feeecc9add98f8314b868de43f42 Mon Sep 17 00:00:00 2001 From: Dave Smith Date: Thu, 28 Oct 2021 16:09:47 +0100 Subject: [PATCH] Use the HTML string of the anchor onto which the linkcontrol is attached as the remount key --- packages/format-library/src/link/inline.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/format-library/src/link/inline.js b/packages/format-library/src/link/inline.js index b9ca275335592..f401baa8bc658 100644 --- a/packages/format-library/src/link/inline.js +++ b/packages/format-library/src/link/inline.js @@ -214,6 +214,8 @@ function InlineLinkUI( { ); } + const linkControlRemountKey = anchorRef?.outerHTML; + return (