fix(dees-input-richtext): Initialize editor and link input element references in firstUpdated to ensure they exist before editor initialization.

This commit is contained in:
2025-12-06 20:19:58 +00:00
parent 0f9bc67a8e
commit 4b8b1fa446
4 changed files with 815 additions and 3154 deletions

View File

@@ -1,5 +1,12 @@
# Changelog
## 2025-12-06 - 2.0.6 - fix(dees-input-richtext)
Initialize editor and link input element references in firstUpdated to ensure they exist before editor initialization.
- Assign editorElement from shadowRoot.querySelector('.editor-content') in firstUpdated.
- Assign linkInputElement from shadowRoot.querySelector('.link-input input') in firstUpdated.
- Call initializeEditor() after DOM references are set to avoid undefined-element runtime errors.
## 2025-12-06 - 2.0.5 - fix(build)
Bump devDependencies: update @git.zone/tsbundle and @git.zone/tswatch to patched versions