File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,10 @@ type Props = React.ElementConfig<'div'> & {
2424 placeholder ?: string ,
2525 readOnly ?: boolean ,
2626 required ?: boolean ,
27+ onClick ?: ( e : MouseEvent ) => mixed ,
2728 onFocus ?: ( e : FocusEvent ) => mixed ,
2829 onBlur ?: ( e : FocusEvent ) => mixed ,
30+ onKeyUp ?: ( e : KeyboardEvent ) => mixed ,
2931 onKeyDown ?: ( e : KeyboardEvent ) => mixed ,
3032} ;
3133
@@ -509,9 +511,12 @@ export default class Editor extends React.Component<Props, State> {
509511 placeholder,
510512 readOnly,
511513 required,
514+ onClick,
512515 onFocus,
513516 onBlur,
517+ onKeyUp,
514518 /* eslint-disable no-unused-vars */
519+ onKeyDown,
515520 onValueChange,
516521 tabSize,
517522 insertSpaces,
@@ -542,6 +547,8 @@ export default class Editor extends React.Component<Props, State> {
542547 value = { value }
543548 onChange = { this . _handleChange }
544549 onKeyDown = { this . _handleKeyDown }
550+ onClick = { onClick }
551+ onKeyUp = { onKeyUp }
545552 onFocus = { onFocus }
546553 onBlur = { onBlur }
547554 disabled = { disabled }
You can’t perform that action at this time.
0 commit comments