how to break word in inline editing?

how to break word in inline editing?

kadriliskadrilis 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

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Answer ✓

    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 regular input 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

  • kadriliskadrilis Posts: 4Questions: 3Answers: 0

    Thank you.

This discussion has been closed.