how to break word in inline editing?
how to break word in inline editing?
kadrilis
Posts: 4Questions: 3Answers: 0
I tried this, i could not achieve anything:
div.DTE_Inline input:focus {
height: 100px;
font-size:30px;
color: #ff0000;
word-wrap:break-word;
white-Space : normal;
word-break: normal;
}
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
D you mean you want to allow the return key to put a new line character into the input? If so, you need to use the
textarea
input type since a regularinput
does not allow new lines (it is just a regular<input type="text">
).You'll also need a submit button since a return key will now insert a new line, rather than submitting the form.
Personally I tend to use bubble editing when editing textareas.
Allan
Thank you.