Skip to content

HTML rendering in Custom tab #2419

@Jon889

Description

@Jon889

Description

Currently only JSON and strings can be shown in custom tabs. It would be good to able to set HTML as a custom tab in a script and then have it render in a webview

Why this feature/change is important?

This would allow custom tabs to create any UI/formatting. My exact use case is I have an API that outputs debug information in the JSON response, I'd like to take that data and make it easier to read by having a table with multiple columns and collapsable sections, while the app I'm developing still has access to the full JSON response.

Either it could use a web view to render it based on detecting the customPreviewerTabs value is HTML, or by being able to set a type value eg customPreviewerTabTypes['tabname'] = "html". The later would allow other values like "treeview", "xml" etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions