
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@kitconcept/volto-highlight-block
Advanced tools
This add-on provides a block that features a big image picked from the images on the site on top and a title and description editable inline. It allows also to set colors on the background of the text area. It features five customizable colors by default.
You can use CSS custom properties from your theme or add-ons:
.root {
--highlight-custom-color-1: #eee;
--highlight-custom-color-2: red;
--highlight-custom-color-3: yellow;
--highlight-custom-color-4: brown;
--highlight-custom-color-5: white;
}
or even add more via the block's config:
const CONTENT_COLORS = [
{ name: 'highlight-custom-color-1', label: 'Medium Blue' },
{ name: 'highlight-custom-color-2', label: 'Light Orange' },
{ name: 'highlight-custom-color-3', label: 'Light Green' },
{ name: 'highlight-custom-color-4', label: 'Blue' },
{ name: 'highlight-custom-color-5', label: 'Green' },
];
config.blocks.blocksConfig.highlight = {
descriptionColors: CONTENT_COLORS,
};
Run
make build-addon
or, alternatively for building all and start the dev instances:
Run
make dev
Run
make start-dev
Developing locally you lack the node_modules
folder.
Run
make install-local
It will add @plone/volto
as a local dependency, and immediatelly back to the original (via git checkout). For this feature to work, your add-on needs to be versioned already. After this action, the ESlint, Prettier, stylelint will work again in your IDE.
Once you are finished, you should shut down the backend.
Run
make stop-backend-docker
Run
make start-test-acceptance-server
It starts both the backend and frontend in development mode.
They run in foreground, so for stopping it, press CTRL+C.
For status:
make status-test-acceptance-server
FAQs
volto-highlight-block: Volto add-on
The npm package @kitconcept/volto-highlight-block receives a total of 759 weekly downloads. As such, @kitconcept/volto-highlight-block popularity was classified as not popular.
We found that @kitconcept/volto-highlight-block demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.