This commit is contained in:
Jan Prochazka 2021-03-15 19:41:42 +01:00
parent 9adb4b41c6
commit 21feb3a042

View File

@ -207,7 +207,10 @@
value={$editorState.value || ''}
menu={createMenu()}
on:input={e => setEditorData(e.detail)}
on:focus={() => {lastFocusedEditor = instance; invalidateCommands(); }}
on:focus={() => {
lastFocusedEditor = instance;
invalidateCommands();
}}
bind:this={domEditor}
/>
</svelte:fragment>