[fx] fix Web API for parseText and openPanelForText