Dynamic height of QuillHtmlEditor #38
Replies: 2 comments 2 replies
-
|
Could you please share a minimum reproducible steps and sample code to understand the issue better? |
Beta Was this translation helpful? Give feedback.
-
|
I'm facing the same issue. In my case, the Rich Text canvas has a fixed size of 400px, even for large texts. This forces me to use scrolling, but a significant portion of the text remains hidden because the box is fixed. I am using the Quill library to create a blog, similar to Medium.com, and it would be ideal if the canvas maintained a dynamic size proportional to the text. In this case, I imagine that the height of the Quill Rich Text could expand without restrictions until it reaches a maximum height set by the parent container. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have a use case where I want to show an html text in the editor, and that HTML is read-only in my app, but its content is dynamic (it can be changed but not from within the app).
The problem is that I can't tell the height of the content. And setting fixed height with isEnabled false won't show all content and won't scroll
So, is there a way to set a dynamic height, or make the widget scrollable when isEnabled is false.
EDIT: I noticed that only putting QuillHtmlEditor inside scrollable area will disable scrolling for QuillHtmlEditor content, how to get around that?
Beta Was this translation helpful? Give feedback.
All reactions