
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
config-editor-tools
Advanced tools
This project includes editor tools for use in React based JSON Schema editors, incl. the CANedge config editor.
npm install --save config-editor-tools
You can directly test the "raw" configuration editor by cloning this repository and running below npm install in root and in the example/ folder. After this, run npm start in the root as well as in the example/ folder.
To publish your own custom version as an npm package, you can modify the package.json and run npm publish. You'll need to be logged in first.
The editor tools are self-contained modals and can be imported into parent apps in a simple way as below:
import React from 'react'
import { BitRateModal, FilterModal, EncryptionModal } from 'config-editor-tools'
const App = () => {
return <FilterModal/>
}
export default App
A typical use case is to parse a list of editor tools to the config-editor-base module as in e.g. the CANedge configuration editor. This can be done via below syntax:
import React from 'react'
import { connect } from 'react-redux'
import { EncryptionModal } from 'config-editor-tools'
import { EditorSection } from 'config-editor-base'
import * as actionsAlert from '../alert/actions'
import AlertContainer from '../alert/AlertContainer'
class Editor extends React.Component {
render() {
let editorTools = [
{
name: 'encryption-modal',
comment: 'Encryption tool',
class: 'fa fa-lock',
modal: <EncryptionModal showAlert={this.props.showAlert} />
}
]
return (
<div className='file-explorer'>
<div className='fe-body fe-body-offline'>
<AlertContainer />
<EditorSection
editorTools={editorTools}
showAlert={this.props.showAlert}
/>
</div>
</div>
)
}
}
const mapDispatchToProps = (dispatch) => {
return {
showAlert: (type, message) =>
dispatch(actionsAlert.set({ type: type, message: message }))
}
}
export default connect(null, mapDispatchToProps)(Editor)
FAQs
Editor tools for use in React based JSON schema editors
We found that config-editor-tools 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.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.