div contentEditable but Readonly
问题 I have a div with some text and I want when the cursor is hover this div to select the text. If I let this div as it is, when trying to select all (CTRL+A) then I select all page content, meaning all body text. To get rid of this, I need to use contenteditable attribute for this div. But I don't want to let people to change the text / copy / cut and so on I try to use readonly for this div, but doesn't working. Any advice please ? PS1: This div has also other tags inside (html content), but I