Placeholder height #2138
Replies: 3 comments
-
I think |
Beta Was this translation helpful? Give feedback.
-
For me, I got rid of the float and height: 0 as it doesn't work with multiline placeholder text.
|
Beta Was this translation helpful? Give feedback.
-
I was able to get the editor container to correctly expand to the height of multiline placeholder content, and show the cursor in the correct spot, by doing something like this:
|
Beta Was this translation helpful? Give feedback.
-
Hi there, I'm using the Placeholder extension and my placeholder text runs more than one line - I tried removing the
height: 0
from the boilerplate CSS but I noticed that removing that line makes the cursor move to the end of the placeholder text (as opposed to the beginning of the line). I'm guessing that's why that height:0 is there? Is there another way to accomplish the cursor-at-head while also maintaining a responsive height in the text field?Beta Was this translation helpful? Give feedback.
All reactions