mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-06-07 01:12:56 +08:00
refactor(placeholder): deprecate considerAnyAsEmpty
This commit is contained in:
parent
0fa9e1a4b0
commit
96601f7c99
5
.changeset/big-wolves-design.md
Normal file
5
.changeset/big-wolves-design.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@tiptap/extension-placeholder": major
|
||||
---
|
||||
|
||||
Officially remove the `considerAnyAsEmpty` which has not been used since version 2.5
|
@ -31,12 +31,6 @@ export interface PlaceholderOptions {
|
||||
}) => string)
|
||||
| string
|
||||
|
||||
/**
|
||||
* See https://github.com/ueberdosis/tiptap/pull/5278 for more information.
|
||||
* @deprecated This option is no longer respected and this type will be removed in the next major version.
|
||||
*/
|
||||
considerAnyAsEmpty?: boolean
|
||||
|
||||
/**
|
||||
* **Checks if the placeholder should be only shown when the editor is editable.**
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user