Added API upload method
Updated text page editor component