Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

draft-js-focus-plugin

draft-js-plugins33.9kMITdeprecated3.0.1TypeScript support: included

use @draft-js-plugins/focus >=v4 instead

Focus Plugin for DraftJS

editor, wysiwyg, draft, react, ux, components, widget, react-component

readme

DraftJS Focus Plugin

This is a plugin for the draft-js-plugins-editor.

Usage:

import createFocusPlugin from 'draft-js-focus-plugin';

const focusPlugin = createFocusPlugin();

changelog

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

3.0.1

  • removed deprecated draft-js hooks (onUpArrow, onDownArrow) usage

3.0.0

  • Upgrade to draft-js v0.11; the new version is incompatible with v0.10
  • Remove unused dependencies
  • Add typescript typings

2.2.0

  • Fix blockKeyStore behaviour so it is not accidentally deleted before the component has finished mounting.

2.1.0

  • Fix removeBlock behaviour (replace with unstyled block when no previous block...)

2.0.6

  • Include all delete commands when handling deleting atomic blocks

2.0.5

  • Delete block entities when deleting content

2.0.3 - 2.0.4

  • bumped find-with-regex

2.0.2

  • fix newline linked to entity