Skip to content

VJsoneditor step the fist line head where input some words in "code mode" #4

Open
@SUT-GC

Description

@SUT-GC

Versions and Environment

**Vue:2.9.6
**Browsers:chrome
**OS:10.13.4 (17E199)

Steps to reproduce

<v-jsoneditor v-model="testJson">

data: function(){
    return {
      json: {
           "success":true 
        }
    }
}

image

when in code mode, input a new line : "hello":"world", where i input w then the cursor step the fist line head,(may be the "vue-jsoneditor" lead to page auto refresh.

version 1.0.13 has the "bug"

where i use version 1.0.10, it's ok

Expected Behavior

Actual Behavior

Reproduction Link

Other comments

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions