diff --git a/superset/assets/javascripts/explore/stores/visTypes.js b/superset/assets/javascripts/explore/stores/visTypes.js index e937b036ab2..7e04237a36d 100644 --- a/superset/assets/javascripts/explore/stores/visTypes.js +++ b/superset/assets/javascripts/explore/stores/visTypes.js @@ -358,6 +358,7 @@ export const visTypes = { { label: null, controlSetRows: [ + ['markup_type'], ['code'], ], }, diff --git a/superset/viz.py b/superset/viz.py index 100d8bbd6fc..98f2d1bc296 100644 --- a/superset/viz.py +++ b/superset/viz.py @@ -449,10 +449,6 @@ class SeparatorViz(MarkupViz): viz_type = "separator" verbose_name = _("Separator") - def get_data(self, df): - code = markdown(self.form_data.get("code", '')) - return dict(html=code) - class WordCloudViz(BaseViz):