react-json-editor-ajrm icon indicating copy to clipboard operation
react-json-editor-ajrm copied to clipboard

"\n" converted to "n" in string values of placeholder (=> editor will CORRUPT string values)

Open mandelcode opened this issue 6 years ago • 3 comments

Version: 2.5.9

set placeholder to { s: "a-\n-a" }

displays in editor : { s: "a-n-a" }

if edited, the wrong "a-n-a" value is passed to onChange

mandelcode avatar Jun 06 '19 16:06 mandelcode

@mandelcode have you found a solution to this?

Mr-Albert avatar Apr 09 '20 10:04 Mr-Albert

I am also facing the same above issue. Any solution for this ?

MartinJesu avatar Jun 23 '20 18:06 MartinJesu

No, we switched to another editor (jsoneditor-react).

mandelcode avatar Jun 24 '20 07:06 mandelcode

I no longer intend to update this project. I am working instead on a complete rewrite.

I'd like to thank you for using and taking interest in this project.

I also would like to apologize for not following up sooner. However, do realize for the most part this has been a one-man show, and the occasional contributions I used to receive. What I am saying is, I am in dire need of volunteers.

If this is something you would be interested in participating in, you can join in the discussion.

I've taken note of this thread, and I'll keep this under consideration for the new project.

AndrewRedican avatar Jan 29 '23 03:01 AndrewRedican