Is it possible to have a contenteditable div in the browser that has maxlength - and it auto resizes until it hits the max length ?
Basically I want to have a editable elements that actually only consumes as much space as it is required to get displayed yet having the max length property .
EDITABLE_____________NORMAL WORD
I would like to make sure editalbe resize and only consumes as much as required . Reason is that I want to generate PDF out of this . So the extra spaces will be trimmed any way . So in browser too we should see the same. It is too complex to solve ?
EDITABLE NORMAL WORD
A related question I found .