client: Remove background for decoupled editor

This commit is contained in:
Elian Doran 2024-11-09 09:56:25 +02:00
parent 4f39188198
commit 787aa6f5a6
No known key found for this signature in database

View File

@ -4,6 +4,17 @@ const TPL = `\
<div class="classic-toolbar-widget">
Classic toolbar goes here.
</div>
<style>
.classic-toolbar-widget {
--ck-color-toolbar-background: transparent;
--ck-color-button-default-background: transparent;
}
.classic-toolbar-widget .ck.ck-toolbar {
border: none;
}
</style>
`;
export default class ClassicEditorToolbar extends NoteContextAwareWidget {