Note: This event fires before an element enters edit mode. To enter edit mode, you must set its contenteditable attribute value to true.