feat: consolidate contributor documentation by merging codex.md and CLAUDE.md into readme.info.md
This commit is contained in:
@@ -118,6 +118,17 @@ export class DeesInputWysiwyg extends DeesInputBase<string> {
|
||||
}
|
||||
|
||||
async firstUpdated() {
|
||||
if (this.value && this.value.trim().length > 0) {
|
||||
const parsedBlocks =
|
||||
this.outputFormat === 'html'
|
||||
? WysiwygConverters.parseHtmlToBlocks(this.value)
|
||||
: WysiwygConverters.parseMarkdownToBlocks(this.value);
|
||||
|
||||
if (parsedBlocks.length > 0) {
|
||||
this.blocks = parsedBlocks;
|
||||
}
|
||||
}
|
||||
|
||||
this.updateValue();
|
||||
this.editorContentRef = this.shadowRoot!.querySelector('.editor-content') as HTMLDivElement;
|
||||
|
||||
@@ -988,4 +999,4 @@ export class DeesInputWysiwyg extends DeesInputBase<string> {
|
||||
this.history.saveCheckpoint(this.blocks, this.selectedBlockId, cursorPosition);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user