added support for contenteditable, forced refresh option