I only have an editable diva that works like a texture that is taken into account page load (i.e. The blinking cursor is visible and the typing machine appears typing without selecting the divisor with the mouse). I have tried to focus on the editable device, but it does not work.
I'm not sure that it is possible to control the cursor, but you only focus on the element Can:
function initPage () {var elEd = document.getElementById ('editor'); ElEd.contentEditable = true; ElEd.focus (); }
In Chrome, if your element contains an element with the id editor then the entire contents will be selected. In Firefox you do not see a cursor, but if you type after loading the page it will be visible in the element. .
Comments
Post a Comment