@@ -138,7 +138,7 @@ Removes atomic blocks for which the entity isn't whitelisted.
138
138
139
139
###### Parameters
140
140
141
- - ` whitelist ` ** \ $ ReadOnlyArray< ; {type: [ string] ( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String ) }>**
141
+ - ` whitelist ` ** $ReadOnlyArray< ; {type: [ string] ( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String ) }>**
142
142
- ` content ` ** ContentState**
143
143
144
144
##### removeInvalidDepthBlocks
@@ -160,7 +160,7 @@ ends up in the text. Other use cases may not be well covered.
160
160
161
161
###### Parameters
162
162
163
- - ` rules ` ** \ $ ReadOnlyArray< ; {test: [ string] ( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String ) , type: [ string] ( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String ) , depth: [ number] ( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number ) }>**
163
+ - ` rules ` ** $ReadOnlyArray< ; {test: [ string] ( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String ) , type: [ string] ( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String ) , depth: [ number] ( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number ) }>**
164
164
- ` content ` ** ContentState**
165
165
166
166
##### limitBlockDepth
@@ -179,7 +179,7 @@ Also sets depth to 0 (for potentially nested list items).
179
179
180
180
###### Parameters
181
181
182
- - ` whitelist ` ** \ $ ReadOnlyArray< ; [ string] ( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String ) >**
182
+ - ` whitelist ` ** $ReadOnlyArray< ; [ string] ( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String ) >**
183
183
- ` content ` ** ContentState**
184
184
185
185
##### filterInlineStyles
@@ -188,7 +188,7 @@ Removes all styles not present in the whitelist.
188
188
189
189
###### Parameters
190
190
191
- - ` whitelist ` ** \ $ ReadOnlyArray< ; [ string] ( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String ) >**
191
+ - ` whitelist ` ** $ReadOnlyArray< ; [ string] ( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String ) >**
192
192
- ` content ` ** ContentState**
193
193
194
194
##### cloneEntities
@@ -218,7 +218,7 @@ Keeps all entity types (images, links, documents, embeds) that are enabled.
218
218
219
219
###### Parameters
220
220
221
- - ` whitelist ` ** \ $ ReadOnlyArray< ; {type: [ string] ( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String ) }>**
221
+ - ` whitelist ` ** $ReadOnlyArray< ; {type: [ string] ( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String ) }>**
222
222
- ` type ` ** [ string] ( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String ) **
223
223
224
224
##### shouldRemoveImageEntity
@@ -237,7 +237,7 @@ Filters entities based on the data they contain.
237
237
238
238
###### Parameters
239
239
240
- - ` entityTypes ` ** \ $ ReadOnlyArray< ; {type: [ string] ( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String ) , whitelist: {}?}>**
240
+ - ` entityTypes ` ** $ReadOnlyArray< ; {type: [ string] ( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String ) , whitelist: {}?}>**
241
241
- ` entityType ` ** [ string] ( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String ) **
242
242
- ` data ` ** {}**
243
243
@@ -258,7 +258,7 @@ Replaces the given characters by their equivalent length of spaces, in all block
258
258
259
259
###### Parameters
260
260
261
- - ` characters ` ** \ $ ReadOnlyArray< ; [ string] ( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String ) >**
261
+ - ` characters ` ** $ReadOnlyArray< ; [ string] ( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String ) >**
262
262
- ` content ` ** ContentState**
263
263
264
264
##### applyContentWithSelection
0 commit comments