From ad6671b09a4aa2a001e4207936a7e4d2ec19385e Mon Sep 17 00:00:00 2001 From: SiriusXT <1160925501@qq.com> Date: Mon, 12 May 2025 22:30:29 +0800 Subject: [PATCH] fix(ui): Fix widget controls inside the footnote --- packages/ckeditor5-footnotes/theme/footnote.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/ckeditor5-footnotes/theme/footnote.css b/packages/ckeditor5-footnotes/theme/footnote.css index 02b271619..29da50bae 100644 --- a/packages/ckeditor5-footnotes/theme/footnote.css +++ b/packages/ckeditor5-footnotes/theme/footnote.css @@ -44,10 +44,9 @@ flex-grow: 1; } -.ck .ck-widget.footnote-section .ck-widget__type-around__button_after { - display:none; /* hides the 'insert after' button from the ckeditor widget */ +.ck .ck-widget.footnote-section > .ck-reset_all.ck-widget__type-around > .ck-widget__type-around__button_after { + display: none; /* hides the 'insert after' button from the ckeditor widget, but displays the button inside the footnote content. */ } - .placeholder { padding: 2px 2px; outline-offset: -2px;