Skip to content

Some Errors Are not showing on Preview #344

Open
@rainmakersumit

Description

@rainmakersumit

Describe the bug

image

Some errors, like syntax or reference errors, are not being displayed properly. It would be helpful to have a console for the iframe, similar to how a terminal appears in a separate tab.

Link to a StackBlitz project which shows the error

No response

Steps to reproduce

  • Open Editor
  • Call any variable without declaring the variable
  • See Chrome Devtool

Expected behavior

  • Showing Error in the Preview Area like this -
    image

  • Also adding "Console" panel

Screenshots

No response

Platform

  • TutorialKit version: [e.g. 1.0.1]
  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 91.1]

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions