So I want the features of a contenteditable div (text selection via keyboard being the main one), but I don\'t want to allow the user to edit the text - I presumed a r
r
You could also try this, plain javascript solution
document.getElementById('div').onkeydown = function (e) { var event = window.event ? window.event : e; return !(!~[37, 38, 39, 40].indexOf(e.keyCode) && !e.ctrlKey); }
This allows selection using arrow keys and copying the same.