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
I made a jquery solution/workaround. What is does is prevent the default action when a key is pressed:
$(document).ready(function(){ $("#editor").on("keypress", function(e) { e.preventDefault(); }); });
Heading Test
Test