CSS to make a div be 'readonly' and ignore user input (mouse clicks)

CSS to make a div be 'readonly' and ignore user input (mouse clicks):


.disabledEdit {
  pointer-events: none;
  cursor: wait;
}

pointer-events can be used for other effects:
https://css-tricks.com/almanac/properties/p/pointer-events/

Comments