New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@remirror/extension-events

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remirror/extension-events

Manage your remirror editor dom events.


Version published
Weekly downloads
39K
decreased by-18%
Maintainers
1
Weekly downloads
 
Created

@remirror/extension-events

Manage your remirror editor dom events.

Version Weekly Downloads Bundled size Typed Codebase MIT License

Installation

# yarn
yarn add @remirror/extension-events @remirror/core

# pnpm
pnpm add @remirror/extension-events @remirror/core

# npm
npm install @remirror/extension-events @remirror/core

This is included by default when you install the recommended remirror package. All exports are also available via the entry-point, remirror/extensions.

Usage

The following code creates an instance of this extension.

import { EventsExtension } from 'remirror/extensions';

const extension = new EventsExtension();

extension.addCustomHandler('focus', () => {
  // Do something.
});

This extension is included by default in the CorePreset from remirror/presets.

FAQs

Package last updated on 15 Feb 2021

Did you know?

Socket

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.

Install

Related posts