React-draft-wysiwyg: Ability to add custom block renderer

Created on 20 Jan 2017  路  2Comments  路  Source: jpuri/react-draft-wysiwyg

@jpuri We needed the ability to render custom blocks like tweets, instagram posts and video. The PR I created allows the extension of the current blockRenderer.

Behavior:

  • custom block renderer is optional
  • When a custom block renderer is specified but does not return a block the default block renderer is executed.

Most helpful comment

Hey @tammomueller, Thanks a lot for the PR. I will merge and release it over the weekend.

All 2 comments

Hey @tammomueller, Thanks a lot for the PR. I will merge and release it over the weekend.

Just released [email protected] 馃帀

Closing the issue.

Was this page helpful?
0 / 5 - 0 ratings