From 463ca1c41b5ec914643e14c209c5152a97a9a7e8 Mon Sep 17 00:00:00 2001 From: massonetto Date: Wed, 17 Feb 2021 18:38:20 -0300 Subject: [PATCH] Update README.md Error in method name inlineStylesFn , the correct is inlineStyleFn --- packages/draft-js-export-html/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/draft-js-export-html/README.md b/packages/draft-js-export-html/README.md index 95282c8f..9f920aac 100644 --- a/packages/draft-js-export-html/README.md +++ b/packages/draft-js-export-html/README.md @@ -42,7 +42,7 @@ let options = { }; let html = stateToHTML(contentState, options); ``` -### `inlineStylesFn` +### `inlineStyleFn` You can define custom function to return rendering options based on inline styles. Similar to draft.js [customStyleFn](https://draftjs.org/docs/api-reference-editor.html#customstylefn).