refactor(placeholder): deprecate considerAnyAsEmpty

This commit is contained in:
Nick the Sick 2024-08-07 06:30:46 +02:00
parent 0fa9e1a4b0
commit 96601f7c99
No known key found for this signature in database
GPG Key ID: F575992F156E5BCC
2 changed files with 5 additions and 6 deletions

View File

@ -0,0 +1,5 @@
---
"@tiptap/extension-placeholder": major
---
Officially remove the `considerAnyAsEmpty` which has not been used since version 2.5

View File

@ -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.**
*