ckeditor / ckeditor4-react

Official CKEditor 4 React component.
Other
95 stars 51 forks source link

It's Unclear How To Start With *HTML* (Not JSX) In the Editor #264

Closed machineghost closed 1 year ago

machineghost commented 2 years ago

Are you reporting a feature request or a bug?

Documentation bug.

Provide detailed reproduction steps (if any)

  1. Read the documentation.
  2. Try to figure out how to start with HTML (eg. from a database) in the editor instead of hard-coded JSX.
  3. Fail to do so.

Expected result

And HTML editor should be able to explain how to start with HTML in it.

Actual result

No explanation.

MMMalik commented 2 years ago

That's a valid point. We'll improve the docs.

In the meantime, I'll just mention that it's of course possible to supply either JSX or string with HTML markup as initData prop. See basic sample.

machineghost commented 2 years ago

Thanks!

MMMalik commented 1 year ago

Closed by ckeditor/ckeditor4-docs#406