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

Ability to change template engine on a per-jsoneditor basis #22

Closed
jdorn opened this issue Dec 16, 2013 · 0 comments
Closed

Ability to change template engine on a per-jsoneditor basis #22

jdorn opened this issue Dec 16, 2013 · 0 comments

Comments

@jdorn
Copy link
Owner

jdorn commented Dec 16, 2013

You can pass in the theme to the initial options hash, but there is no way to pass in a templating engine.

$("#editor").jsoneditor({
  schema: {},
  template: "mustache"
});

This should take precedence over $.jsoneditor.template when set.

@jdorn jdorn closed this as completed in c08f00a Dec 16, 2013
nicolasGuillouet pushed a commit to nicolasGuillouet/json-editor that referenced this issue Jul 31, 2017
…own (jdorn#22)

* Check if it is always disabled before enabling any editor

* If function disable is called with param always_disabled set to true, update flag always_disabled for any editor
PhE pushed a commit to PhE/json-editor that referenced this issue May 21, 2018
* commit '27b611a766daf680f60f8b14779284bd9775175c': (44 commits)
  Added selenium tests with mocha
  Revert "Merge branch 'mehmetb-master' into develop"
  Include expanded schemas options to include refs (jdorn#27)
  Add option to have info buttons (jdorn#24)
  Implemented template support for 'rel' property on href's schema jdorn#606 (jdorn#17)
  Update multiple.js (jdorn#21)
  Fixed to expand refs before creating root editor (jdorn#18)
  fix for issue 627 - selectize dropdown causes prop to dissapear - and issue 538 - create hardcoded to true (jdorn#19)
  Issue 488 fix disabled fields get enabled when using properties dropdown (jdorn#22)
  Resolved merge conflicts
  update submitted json when editing select fields via json manually to (jdorn#29)
  Copy Array Element Button (jdorn#4)
  Cleaning with innerHTML='' causes issues on IE. So clean children one by one with removeChild (jdorn#11)
  use hasOwnProperty instead of requiring a "true" value for startval (jdorn#30)
  added check for whether label is defined for checkbox (jdorn#8)
  Respect "minimum"/"maximum" and "exclusiveMinimum/Maximum" (jdorn#7)
  Undefined variable issue when using template (jdorn#15)
  Fix typo (jdorn#31)
  Fix for crash given schema {"enum":[null]} (jdorn#26)
  add option for lodash templates (jdorn#5)
  ...
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