mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 12:47:11 -05:00
Remove slot inside EditorToolbar
I think this is just stray code left over from a refactor, but I'm
not 100% sure.
Fixes
Error: Object literal may only specify known properties, and 'children' does not exist in type '{ size: number; wrap: boolean; api?: Partial<EditorToolbarAPI> | undefined; }'. (ts)
<div class="note-editor">
<EditorToolbar {size} {wrap} api={toolbar}>
<slot slot="notetypeButtons" name="notetypeButtons" />
This commit is contained in:
parent
dee711c671
commit
b3095e07ac
1 changed files with 1 additions and 3 deletions
|
|
@ -618,9 +618,7 @@ Functionality exclusive to specific note-editing views (e.g. in the browser or
|
|||
the AddCards dialog) should be implemented in the user of this component.
|
||||
-->
|
||||
<div class="note-editor">
|
||||
<EditorToolbar {size} {wrap} api={toolbar}>
|
||||
<slot slot="notetypeButtons" name="notetypeButtons" />
|
||||
</EditorToolbar>
|
||||
<EditorToolbar {size} {wrap} api={toolbar}></EditorToolbar>
|
||||
|
||||
{#if hint}
|
||||
<Absolute bottom right --margin="10px">
|
||||
|
|
|
|||
Loading…
Reference in a new issue