fix(dees-editor-bare): make Monaco editor follow domtools theme and clean up theme subscription on disconnect

This commit is contained in:
2025-12-30 13:57:51 +00:00
parent 9972029643
commit 5cb41f3368
3 changed files with 31 additions and 2 deletions

View File

@@ -1,5 +1,12 @@
# Changelog
## 2025-12-30 - 3.12.2 - fix(dees-editor-bare)
make Monaco editor follow domtools theme and clean up theme subscription on disconnect
- Set initial Monaco theme from domtools.themeManager.goBrightBoolean instead of hardcoded 'vs-dark'
- Subscribe to domtools.themeManager.themeObservable to update editor theme dynamically
- Add monacoThemeSubscription property and unsubscribe in disconnectedCallback to avoid memory leaks
## 2025-12-30 - 3.12.1 - fix(modal)
fix modal editor layout to prevent overlap by adding relative positioning and reducing height