javascript - Cursor is not place at end of custom element -
p code { padding: 1px 5px 1px 5px; } code { white-space: pre-wrap; padding: 1px 5px; font-family: consolas, menlo, monaco, lucida console, liberation mono, dejavu sans mono, bitstream vera sans mono, courier new, monospace, sans-serif; background-color: #eee; }
<div class="" contenteditable="true" spellcheck="false" style="height: 350px;"><p>efiwefwpei <code>fowef</code> wefwefwefwefweff</p></div>
- why cursor not place @ ending of
code
element when want continuos typing - i want typing @ beginning of
code
element, can't it
how fix (in way of user experience , code
element that)
Comments
Post a Comment