Additional fixes for issue 6422

Strings/numbers/booleans in the DOM panel should not be inspectable by
clicking them, and should be possible to edit by double-clicking.