diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..b17e537 --- /dev/null +++ b/.env.example @@ -0,0 +1,14 @@ +# Alexandria Environment Variables + +# Enable mock data for development/testing +# Set to "true" to use lorem ipsum test comments instead of fetching from relays +VITE_USE_MOCK_COMMENTS=true + +# Set to "true" to use position-based test highlights instead of fetching from relays +VITE_USE_MOCK_HIGHLIGHTS=true + +# Set to "true" to mock event publishing (no actual relay publishing, useful for testing UI) +VITE_MOCK_PUBLISH=true + +# Enable debug logging for relay connections +DEBUG_RELAYS=false diff --git a/src/lib/components/ZettelEditor.svelte b/src/lib/components/ZettelEditor.svelte index 6ca51b5..9ba26a8 100644 --- a/src/lib/components/ZettelEditor.svelte +++ b/src/lib/components/ZettelEditor.svelte @@ -1,5 +1,5 @@