Can I allow users to choose what input widget a Drupal field should use on a node by node basis?
In your content type definition, create two different fields, eg: data_tab and data_text. Then have a third field where the user can indicate their format, and use the Conditional Fields module to display the correct data input field.