React-hook-form: How to use react hook form with ckeditor !

Created on 21 Feb 2020  路  1Comment  路  Source: react-hook-form/react-hook-form

Describe the question?

How to integrate ckeditor ! ( Is it possible to Integrate it )

To Reproduce

I tried the simple integration way, and also tried with React Hook Form Input can't capture the value of the editor !

Most helpful comment

I never used ckeditor, but you can register at useEffect and setValue.

useEffect(() => {
  register('input')
})

<CKEditor onChange={(value) => setValue('input', value)} />

>All comments

I never used ckeditor, but you can register at useEffect and setValue.

useEffect(() => {
  register('input')
})

<CKEditor onChange={(value) => setValue('input', value)} />
Was this page helpful?
0 / 5 - 0 ratings