Use the text prop to set text in editor - #4
Conversation
The documentation says that the `text` prop is used to set the contents of the editor, but the current code expects to find that information in a `PlaceHolder` prop. This PR fixes the code to match the documentation.
|
Hey @reggie3! thanks for your attention. It looks like just a Readme mistake. Text value of editor is setting in |
|
It sounds like you're saying that if we want to provide text to the |
|
Want to provide external text to the component other than text entered on the keyboard? If so. Yes, You can do that with the |
|
Okay, that makes sense. If that is the case, then I don't think this PR is necessary. |
eneskarpuz
left a comment
There was a problem hiding this comment.
@reggie3 If you want, it would be good to update the PlaceHolder prop to a expression that indicates it can get external values in readme and code. I think lib needs it.
The documentation says that the
textprop is used to set the contents of the editor, but the current code expects to find that information in aPlaceHolderprop. This PR fixes the code to match the documentation.