Skip to content

Conversation

gismofx
Copy link

@gismofx gismofx commented Sep 12, 2025

This addresses some concerns with #32 . Enable loading the compoent with initial quill "delta" content by adding InitialContent parameter:

 <BlazoredTextEditor @ref="@QuillHtml" DebugLevel="warn" Placeholder="Enter report information here..."
 InitialContent="@initialContent">

Where initial content is something like this:

var initialContent = "{
  ops: [
    { insert: 'Gandalf', attributes: { bold: true } },
    { insert: ' the ' },
    { insert: 'Grey', attributes: { color: '#cccccc' } }
  ]
}"

@ADefWebserver ADefWebserver merged commit 4daffc7 into Blazored:main Sep 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants