Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use editor3 internal clipboard to copy entities from open editors #2509

Merged
merged 11 commits into from
Sep 6, 2018
2 changes: 2 additions & 0 deletions scripts/core/editor3/reducers/find-replace.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/* eslint-disable no-unused-vars */ // eslint complains about EditorChangeType not being used
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use eslint-disable-next-line to avoid having to re-enable rules.

// eslint-disable-next-line no-unused-vars
import {EditorChangeType} from 'draft-js';

import {SelectionState, Modifier, EditorState} from 'draft-js';

import {SelectionState, Modifier, EditorState, EditorChangeType} from 'draft-js';
/* eslint-enable no-unused-vars */

const findReplace = (state = {}, action) => {
switch (action.type) {
Expand Down