working other features same as subscript including keeping formatting on edit