
Product
Reachability for Ruby Now in Beta
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.
editron-index-editor
Advanced tools
Adds an editable navigation for a given datapoint (json-pointer).
npm i editron-index-editor --save
Use bundled versions of this editor
Add the editor after the core-modules and it will register automatically (paths depend on your build-setup)
<link rel="stylesheet" href="../node_modules/editron-index-editor/dist/editron-index-editor.css">
<!-- plugin editor -->
<script type="text/javascript" src="../node_modules/editron-core/dist/editron-modules.js"></script>
<script type="text/javascript" src="../node_modules/editron-core/dist/editron-core.js"></script>
<script type="text/javascript" src="../node_modules/editron-index-editor/dist/editron-index-editor.js"></script>
And create the index-editor
const controller = new editronCore.Controller(mySchema, myData);
// create a main view for your data
const mainEditor = controller.createEditor("#/subView", document.querySelector("#editor"));
// create a new editor using the index-editor (enabled by option)
const index = controller.createEditor("#", document.querySelector("#editor-navigation"), {
"editron:ui": { "editor:index": true }
});
// the index-editor will notify the location-service for any changes
const LocationServive = require("editron-core/services/LocationService");
LocationService.on(LocationService.PAGE_EVENT, function (pointer) {
// change entry pointer to `pointer` (item within index has been clicked)
// here you may destroy the main view editor and change the entry-point according to the passed pointer:
mainEditor.destroy();
mainEditor = controller.createEditor(pointer, document.querySelector("#editor"));
});
bundle the editor into your editron-application
To use this editor within a webpack build, require the editor and add it to the editors list
const editronIndexEditor = require("editron-index-editor");
const editors = [
editronIndexEditor
...otherEditors
];
const controller = new Editron(schema, data, { editors });
// and follow the example above
Optionally import the custom script-editor styles via sass
@import "editron-index-editor/editron-index-editor.scss";
or simply add the bundled css-file (path is depending on your build-setup)
<link rel="stylesheet" href="../node_modules/editron-index-editor/dist/editron-index-editor.css">
FAQs
Editron - overview navigation editor
The npm package editron-index-editor receives a total of 12 weekly downloads. As such, editron-index-editor popularity was classified as not popular.
We found that editron-index-editor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.

Research
/Security News
Malicious npm packages use Adspect cloaking and fake CAPTCHAs to fingerprint visitors and redirect victims to crypto-themed scam sites.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.