Skip to content
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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

StevePhuc
Copy link

#58

Add to make it clean that it is required if you use EMBEDDED_ASSET or EMBEDDED_ASSET in rich text

@StevePhuc StevePhuc changed the title requrie-custome-rendering Update README requrie-custome-rendering Aug 8, 2019
Copy link
Contributor

@sbezludny sbezludny left a 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 !

Copy link
Contributor

@sbezludny sbezludny left a 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:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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:

Copy link
Author

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:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants