Added support for contenteditable