Skip to content

Build your personal knowledge base with Trilium Notes

fix(print): table captions not displayed properly (closes #6483)

Elian Doran3e0ef10b25e3
diff --git a/apps/client/src/stylesheets/print.css b/apps/client/src/stylesheets/print.css
index f537911e55..8c8612924f 100644
--- a/apps/client/src/stylesheets/print.css
+++ b/apps/client/src/stylesheets/print.css
@@ -320,3 +320,8 @@ h6 {
page-break-after: avoid;
break-after: avoid;
}
+
+figure.table {
+ /* Workaround for https://github.com/ckeditor/ckeditor5/issues/18903. Remove once official fix is released */
+ display: table !important;
+}
\ No newline at end of file