Skip to content

WARNING: the constructor "new JSONEditor(...)" is deprecated since v1. Please use "createJSONEditor(...)" instead. #98

Closed
@arkhaiel

Description

@arkhaiel

Before you start, please make sure to:

  • Read the document
  • Have tried the latest version
  • Search to see if your issue already exists

Link to minimal reproduction

https://cloydlau.github.io/playground/json-editor-vue/

Validation

  • ⚠️ I understand that invalid, incomplete or superfluous reproduction can lead to this issue being closed

Describe the bug and steps to reproduce

I use nuxthub and nuxt devtools, each time there's an instance of jsoneditor-vue created I have this warning.
Looking to the vanilla-jsoneditor I see there's a breaking change in v1 and it's the origin of the warning.

I will create a PR to fix the warning !

Thanks for this module ❤️

System Info

No response

Package Manager

pnpm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions