Closed simontreny closed 6 years ago
Hi @simontreny!
Nice job! But, could you fix the tests before we accept your PR? It'd be good if you write some documentation for this too. 😉
Hey @simontreny .
I updated all devDependencies and fixed some CI and automatization on the project. You can ignore the appVeyor build failed, for example.
But with your PR there is a test failing. Can you provided us a fix to that? We will wait your response!
I would like to customize the way some blocks are rendered (especially, headings and blockquotes). Right now, "header-" are necessarily rendered as a DraftJsText and "blockquote-" have a fixed layout with a container view, a DraftJsText, an icon before and an icon after. Unfortunately, this does not match the design I'd like to implement.
This pull-request allows to implement customBlockHandler to override the rendering of any styles, allowing further customization of their layout.