-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update README requrie-custome-rendering #112
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for your contribution @StevePhuc !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
found a couple of tiny nits, otherwise LGTM
@@ -111,7 +111,7 @@ documentToHtmlString(document, options); | |||
// -> <custom-paragraph><custom-bold>Hello</custom-bold><u> world!</u></custom-paragraph> | |||
``` | |||
|
|||
Last, but not least, you can pass a custom rendering component for an embedded entry: | |||
Last, but not least, if you use `EMBEDDED_ASSET` or `EMBEDDED_ASSET` you must pass a custom rendering component for render them: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last, but not least, if you use `EMBEDDED_ASSET` or `EMBEDDED_ASSET` you must pass a custom rendering component for render them: | |
Last, but not least, if you use `EMBEDDED_ENTRY` or `EMBEDDED_ASSET` you must pass a custom rendering component for render them: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you for fixing, my mistake
@@ -116,7 +116,7 @@ documentToReactComponents(document, options); | |||
// -> <p class="align-center"><p class="bold">Hello</p><u> world?</u></p> | |||
``` | |||
|
|||
Last, but not least, you can pass a custom rendering component for an embedded entry: | |||
Last, but not least, if you use `EMBEDDED_ASSET` or `EMBEDDED_ASSET` you must pass a custom rendering component for render them: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last, but not least, if you use `EMBEDDED_ASSET` or `EMBEDDED_ASSET` you must pass a custom rendering component for render them: | |
Last, but not least, if you use `EMBEDDED_ENTRY` or `EMBEDDED_ASSET` you must pass a custom rendering component for render them: |
#58
Add to make it clean that it is required if you use
EMBEDDED_ASSET
orEMBEDDED_ASSET
in rich text