-
Notifications
You must be signed in to change notification settings - Fork 394
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
82cf2d9
commit 2a48481
Showing
1 changed file
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
2018-12-13: BREAKING: Changed params for `htmlToBlocks` from `(html, options={blockContentType})` to `(html, blockContentType, options={}` as blockContentType is now required. | ||
|
||
2019-10-16: `normalizeBlock` now takes a second parameter `options`. You can send in `options.decorators` which are the allowed decorator names. If you send in this, `normalizeBlock` will remove any span marks that are neither a decorator or exists in `block.markDefs`. | ||
2019-10-16: `normalizeBlock` now takes a second parameter `options`. You can send in `options.allowedDecorators` which are the allowed decorator names. If you send in this, `normalizeBlock` will remove any span marks that are neither a decorator or exists in `block.markDefs`. | ||
|
||
2020-02-13: NEW: `htmlToBlocks` will not normalize all the blocks (give them a _key and merge sibling spans with same set of marks together) | ||
|
||
2020-09-03: BREAKING: removed deprecated editor specific methods `blocksToEditorValue` and `editorValueToBlock`. Please use an older version if you need these. | ||
|
||
2020-09-03: NEW: `htmlToBlocks` will now support hoisted block type names. | ||
|
||
2020-09-03: NEW: `normalizeBlock` now support naming your block type through `options.blockTypeName` |
2a48481
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.
Successfully deployed to the following URLs: