Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icon is not visible for json editor #808

Open
ghost opened this issue Feb 8, 2018 · 4 comments
Open

Icon is not visible for json editor #808

ghost opened this issue Feb 8, 2018 · 4 comments

Comments

@ghost
Copy link

ghost commented Feb 8, 2018

I've a application deployed in JBOSS via EAR. I've put the SVG files in "WebContent\scripts\img" directory. Json editor script files in "WebContent\scripts". My jsp in "WebContent".

Icon not showing up.

@ghost
Copy link
Author

ghost commented Feb 8, 2018

Project is in Eclipse

@ghost
Copy link
Author

ghost commented Feb 8, 2018

CSS is in scripts directory. The code is not showing while I put the comment.

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>




<title>Insert title here</title>

<script src="scripts/jsoneditor.js"></script>
<style type="text/css">
body {
	font: 11pt arial;
}

#jsoneditor {
	width: 1350px;
	height: 600px;
}
</style>


<script> function init() { var container = document.getElementById('jsoneditor'); var options = { mode: 'view' }; var json = {"a":34}; var editor = new JSONEditor(container, options, json); editor.setText('{"a":234}'); } </script>

@ghost
Copy link
Author

ghost commented Feb 8, 2018

Also I want to know how to load and save json file in json editor. I'm not able to understand the code provided in your website.

@schmunk42
Copy link
Collaborator

This repo is no longer maintained (see also #800)

Development is continued at https://github.com/json-editor/json-editor

For details please visit json-editor/json-editor#5

btsimonh pushed a commit to btsimonh/json-editor that referenced this issue May 26, 2021
…null_value

Fixed the console error when using describedBy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant