How to use jinja context in markdown component or run js code? #14011
-
#6771 (comment) this should be work but Or can we run js code in markdown component? https://github.com/apache-superset/superset-ui/blob/4ac7106aa9e5183aea93cf42f0d53a742308d6c4/packages/superset-ui-core/src/components/SafeMarkdown.tsx#L27 htmlParser({
isValidNode: (node: MarkdownAbstractSyntaxTree) => node.type !== 'script',
}), to htmlParser({
isValidNode: (node: MarkdownAbstractSyntaxTree) => true,
}), Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Maybe that' the reason. |
Beta Was this translation helpful? Give feedback.
-
This solved my problem Using saved query and select '<video autoplay src="{{ url_param('src') }}" type="video/mp4" muted />' as video |
Beta Was this translation helpful? Give feedback.
This solved my problem
https://stackoverflow.com/a/59958609/5196627
Using saved query and
table