Skip to content

Commit

Permalink
Add note about custom editing areas w/React 16
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkrolick authored Apr 6, 2018
1 parent fdf8525 commit 95ca003
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,8 @@ class MyComponent extends React.Component {

If you instantiate ReactQuill without children, it will create a `<div>` for you, to be used as the editing area for Quill. If you prefer, you can specify your own element for ReactQuill to use. Note that `<textarea>`s are not supported by Quill at this time.

Note: Custom editing areas lose focus when using React 16 as a peer dep at this time ([bug](https://github.com/zenoamaro/react-quill/issues/309)).

<details>

```jsx
Expand Down

0 comments on commit 95ca003

Please sign in to comment.