CKEditor Sample — Setting contentEditable = false on the body and true on certain sections

When you set contentEditable = false and unselectable = "on" on the document body, selections do not behave as expected.

If you make a selection and then right click on an unselected word in the same div, the selection is retained instead of being removed and the cursor moving to where the user clicked.

Right-clicking in a different div will clear the selection as expected.