From 9bc410c5821daa2b66441965eff61a23b5f720af Mon Sep 17 00:00:00 2001 From: Ian Storm Taylor Date: Wed, 27 Jul 2016 14:44:13 -0700 Subject: [PATCH] add missing prop types to content --- lib/components/content.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/components/content.js b/lib/components/content.js index 6ba364811..9a5ed14f2 100644 --- a/lib/components/content.js +++ b/lib/components/content.js @@ -2,7 +2,6 @@ import Base64 from '../serializers/base-64' import Node from './node' import OffsetKey from '../utils/offset-key' -import Raw from '../serializers/raw' import React from 'react' import Selection from '../models/selection' import TYPES from '../utils/types' @@ -38,6 +37,9 @@ class Content extends React.Component { onBeforeInput: React.PropTypes.func.isRequired, onBlur: React.PropTypes.func.isRequired, onChange: React.PropTypes.func.isRequired, + onCopy: React.PropTypes.func.isRequired, + onCut: React.PropTypes.func.isRequired, + onDrop: React.PropTypes.func.isRequired, onKeyDown: React.PropTypes.func.isRequired, onPaste: React.PropTypes.func.isRequired, onSelect: React.PropTypes.func.isRequired,