
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
@silexlabs/grapesjs-keymaps-dialog
Advanced tools
This GrapesJS plugin implements a floating UI showing the available keymaps for the editor.
You can open it by holding a key (Shift by default) during a certain amount of time and/or with a shortcut (Shift+K by default).
This code is part of a bigger project. Check out Silex v3.
You can check a demonstration of this plugin here. [SOON]
| Option | Description | Default |
|---|---|---|
longPressKey | The key you can hold to open the dialog. | shift |
longPressDuration | The minimum hold time of the longPressKey (in milliseconds). Set to 0 to deactivate. | 800 |
shortcut | The (optional) shortcut that can open/close the dialog. | shift+k |
css | The (optional) CSS of the dialog in case you wish to customize it. | null |
https://unpkg.com/@silexlabs/grapesjs-keymaps-dialognpm i silexlabs@grapesjs-keymaps-dialoggit clone https://github.com/silexlabs/grapesjs-keymaps-dialog.gitDirectly in the browser
<link href="https://unpkg.com/grapesjs/dist/css/grapes.min.css" rel="stylesheet"/>
<script src="https://unpkg.com/grapesjs"></script>
<script src="https://unpkg.com/@silexlabs/grapesjs-keymaps-dialog"></script>
<div id="gjs"></div>
<script type="text/javascript">
var editor = grapesjs.init({
container: '#gjs',
// ...
plugins: ['grapesjs-keymaps-dialog'],
pluginsOpts: {
'grapesjs-keymaps-dialog': { /* options */ }
}
});
</script>
Modern javascript
import grapesjs from 'grapesjs';
import plugin from '@silexlabs/grapesjs-keymaps-dialog';
import 'grapesjs/dist/css/grapes.min.css';
const editor = grapesjs.init({
container : '#gjs',
// ...
plugins: [plugin],
pluginsOpts: {
[plugin]: { /* options */ }
}
// or
plugins: [
editor => plugin(editor, { /* options */ }),
],
});
Clone the repository
$ git clone https://github.com/silexlabs/grapesjs-keymaps-dialog.git
$ cd grapesjs-keymaps-dialog
Install dependencies
$ npm i
Build the project
$ npm run build
Start the dev server
$ npm start
AGPL-3.0-or-later
FAQs
GrapesJS Keymap Dialog
The npm package @silexlabs/grapesjs-keymaps-dialog receives a total of 37 weekly downloads. As such, @silexlabs/grapesjs-keymaps-dialog popularity was classified as not popular.
We found that @silexlabs/grapesjs-keymaps-dialog demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.