contenteditable update blocks