-
Notifications
You must be signed in to change notification settings - Fork 96
Choosing Options
Custom distributions can be made in cases where only some options should be exposed to the customizer. Exposing options this way may decrease the size of the distribution bundle.
To do this, modify dictionaries/allowed_options.json
, and run gulp
in the project root.
To bake a custom version that only includes the options required, modify dictionaries/allowed_options.json
and then run node tools/update.meta
.
After running the tool, run gulp
in the project root to bake your custom build.
Take a look at dictionaries/exposed.settings.json to see how to format the input JSON file.
Editable options can also be defined at runtime, by passing an array of allowed properties into the availableSettings
option in the constructor of both highed.Editor
and highed.SimpleEditor
. Note that this works as a whitelist. By default all the options available will be exposed.
Overview
Stand-alone Usage
Advanced
- Enable Advanced Customization
- Choosing Which Options to Include
- Adding Custom Templates
- Plugins
- Disabling Editor Features
- Adding Fonts
- Custom Templates
- Localization
- Sticky Chart Options
Integrating
API Reference