feat: consolidate contributor documentation by merging codex.md and CLAUDE.md into readme.info.md

This commit is contained in:
2025-09-18 14:39:19 +00:00
parent c1102634f3
commit b92966ef28
6 changed files with 93 additions and 219 deletions

View File

@@ -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);
}
}
}
}