revamped with contenteditable html attr