Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f67be189eb | |||
| 4b8b1fa446 |
@@ -1,5 +1,12 @@
|
|||||||
# Changelog
|
# 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)
|
## 2025-12-06 - 2.0.5 - fix(build)
|
||||||
Bump devDependencies: update @git.zone/tsbundle and @git.zone/tswatch to patched versions
|
Bump devDependencies: update @git.zone/tsbundle and @git.zone/tswatch to patched versions
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@design.estate/dees-catalog",
|
"name": "@design.estate/dees-catalog",
|
||||||
"version": "2.0.5",
|
"version": "2.0.6",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.",
|
"description": "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.",
|
||||||
"main": "dist_ts_web/index.js",
|
"main": "dist_ts_web/index.js",
|
||||||
|
|||||||
3957
pnpm-lock.yaml
generated
3957
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@design.estate/dees-catalog',
|
name: '@design.estate/dees-catalog',
|
||||||
version: '2.0.5',
|
version: '2.0.6',
|
||||||
description: 'A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.'
|
description: 'A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -62,7 +62,6 @@ export class DeesInputRichtext extends DeesInputBase<string> {
|
|||||||
accessor wordCount: number = 0;
|
accessor wordCount: number = 0;
|
||||||
|
|
||||||
private editorElement: HTMLElement;
|
private editorElement: HTMLElement;
|
||||||
|
|
||||||
private linkInputElement: HTMLInputElement;
|
private linkInputElement: HTMLInputElement;
|
||||||
|
|
||||||
public editor: Editor;
|
public editor: Editor;
|
||||||
@@ -234,6 +233,8 @@ export class DeesInputRichtext extends DeesInputBase<string> {
|
|||||||
|
|
||||||
public async firstUpdated() {
|
public async firstUpdated() {
|
||||||
await this.updateComplete;
|
await this.updateComplete;
|
||||||
|
this.editorElement = this.shadowRoot.querySelector('.editor-content');
|
||||||
|
this.linkInputElement = this.shadowRoot.querySelector('.link-input input');
|
||||||
this.initializeEditor();
|
this.initializeEditor();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user