Proper contenteditable initialization