diff --git a/demos/playground/src/themes/PlaygroundEditorTheme.css b/demos/playground/src/themes/PlaygroundEditorTheme.css index 7d814bb..28328c8 100644 --- a/demos/playground/src/themes/PlaygroundEditorTheme.css +++ b/demos/playground/src/themes/PlaygroundEditorTheme.css @@ -99,10 +99,9 @@ margin: 0; margin-top: 8px; margin-bottom: 8px; - tab-size: 2; - /* white-space: pre; */ overflow-x: auto; position: relative; + tab-size: 2; } .PlaygroundEditorTheme__code:before { content: attr(data-gutter); diff --git a/packages/svelte-lexical/src/core/plugins/collaboration/YjsFocusTracking.svelte b/packages/svelte-lexical/src/core/plugins/collaboration/YjsFocusTracking.svelte index 3582795..048d90d 100644 --- a/packages/svelte-lexical/src/core/plugins/collaboration/YjsFocusTracking.svelte +++ b/packages/svelte-lexical/src/core/plugins/collaboration/YjsFocusTracking.svelte @@ -16,8 +16,6 @@ export let awarenessData: object | undefined = undefined; onMount(() => { - const {awareness} = provider; - return mergeRegister( editor.registerCommand( FOCUS_COMMAND,