Alex
11b957a441
Add way to prevent data loss in normalizeNode
( #5878 )
...
* fix(docs): Consider passed options when overriding normalizeNode
* feat: Allow to prevent data-loss on normalizeNode
When overriding normalizeNode, you can specify a `wrapperElement`
that is used to wrap text & inline nodes which would otherwise be
deleted in the normalization path if they are not allowed.
* changeset
2025-05-24 13:53:02 -07:00
Jacob Carpenter
d8dbbb19f7
Docs: fix incorrect name. ( #5182 )
...
A reference to the sample above incorrectly mentions `Editor.unwrapNodes` instead of `Transforms.unwrapNodes`.
2022-11-08 05:38:52 -07:00
Denis Sokolov
d868c930f6
Fix a typo in docs on Normalizing ( #5164 )
2022-10-28 08:47:09 -07:00
Jim Fisher
b8020ee6fc
Document additional schema constraints due to design of operations ( #4838 )
...
As discussed in https://github.com/ianstormtaylor/slate/issues/4836
2022-02-16 09:22:08 -07:00
Doug Reeder
5d3eccf262
Documents use of Editor.withoutNormalizing in conjunction with normalization ( #4737 )
2021-12-16 22:15:22 -07:00
Sunny Hirai
106dd9cb37
docs: describe how empty element children normalization executes before all other normalizations
2021-07-19 17:52:53 -07:00
Rickert Mulder
351d0a1c36
Fix typo ( #4252 )
...
complience -> compliance
2021-05-13 07:08:09 +10:00
Ian Storm Taylor
f183bde599
add transforms concept docs ( #4179 )
2021-04-07 18:03:57 -04:00