Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
feat(share): display admonition icons (closes #6733)
Elian Doran2a1ecdbdca55
diff --git a/packages/ckeditor5/src/theme/ck-content.css b/packages/ckeditor5/src/theme/ck-content.cssindex e9db06ec5d..a18afdde45 100644--- a/packages/ckeditor5/src/theme/ck-content.css+++ b/packages/ckeditor5/src/theme/ck-content.css@@ -26,6 +26,7 @@padding: 1em;margin: 1.25em 0;position: relative;+ padding-inline-start: 2.5em;overflow: hidden;}@@ -41,4 +42,18 @@.admonition.tip { --accent-color: #40c025; }.admonition.important { --accent-color: #9839f7; }.admonition.caution { --accent-color: #ff2e2e; }-.admonition.warning { --accent-color: #e2aa03; }\ No newline at end of file+.admonition.warning { --accent-color: #e2aa03; }++.admonition::before {+ color: var(--accent-color);+ font-family: boxicons !important;+ position: absolute;+ top: 1em;+ inset-inline-start: 1em;+}++.admonition.note::before { content: "\eb21"; }+.admonition.tip::before { content: "\ea0d"; }+.admonition.important::before { content: "\ea7c"; }+.admonition.caution::before { content: "\eac7"; }+.admonition.warning::before { content: "\eac5"; }\ No newline at end of file