mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04: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.
|
the AddCards dialog) should be implemented in the user of this component.
|
||||||
-->
|
-->
|
||||||
<div class="note-editor">
|
<div class="note-editor">
|
||||||
<EditorToolbar {size} {wrap} api={toolbar}>
|
<EditorToolbar {size} {wrap} api={toolbar}></EditorToolbar>
|
||||||
<slot slot="notetypeButtons" name="notetypeButtons" />
|
|
||||||
</EditorToolbar>
|
|
||||||
|
|
||||||
{#if hint}
|
{#if hint}
|
||||||
<Absolute bottom right --margin="10px">
|
<Absolute bottom right --margin="10px">
|
||||||
|
|
Loading…
Reference in a new issue