Skip to content

Commit 9d09b77

Browse files
[update] deprecated - removed
1 parent b640ca7 commit 9d09b77

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

docs/api/config/layout-mode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ new richtext.Richtext("#root", {
3434
});
3535
~~~
3636

37-
**Change log:** The property was added in v2.0 instead of the deprecated `mode` property
37+
**Change log:** The property was added in v2.0 instead of the removed `mode` property
3838

3939
**Related articles:** [Configuration](guides/configuration.md)
4040

docs/api/internal/detach.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ editor.api.on("set-font-size", (obj) => {
4141
editor.api.detach("track");
4242
~~~
4343

44-
**Change log:** The method was updated in v2.0. The `name` and `context` parameters were deprecated
44+
**Change log:** The method was updated in v2.0. The `name` and `context` parameters were removed

docs/api/internal/on.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ editor.api.on("set-font-size", (obj) => {
4343
});
4444
~~~
4545

46-
**Change log:** The method was updated in v2.0. The `context` parameter were deprecated
46+
**Change log:** The method was updated in v2.0. The `context` parameter were removed

docs/api/methods/get-value.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ const editor_value = editor.getValue(toTextEncoder);
4040
console.log(editor_value);
4141
~~~
4242

43-
**Change log:** The method was updated in v2.0. The `mode` parameter was deprecated. The `encoder` parameter was added
43+
**Change log:** The method was updated in v2.0. The `mode` parameter was removed. The `encoder` parameter was added

docs/api/methods/set-value.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ const fromTextEncoder = richtext.text.fromText;
4141
editor.setValue(editor_value, fromTextEncoder);
4242
~~~
4343

44-
**Change log:** The method was updated in v2.0. The `mode` parameter was deprecated. The `encoder` parameter was added
44+
**Change log:** The method was updated in v2.0. The `mode` parameter was removed. The `encoder` parameter was added

docs/news/migration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ description: You can learn about the Migration to Newer Versions in the document
1919

2020
### - `customStats`
2121

22-
The `customStats` property has been deprecated. The current version of RichText no longer supports displaying user-defined statistics (e.g., character count, word count, sentence count).
22+
The `customStats` property has been removed. The current version of RichText no longer supports displaying user-defined statistics (e.g., character count, word count, sentence count).
2323

2424
If you still need to calculate text metrics, you can do so externally by accessing the editor content and processing it manually:
2525

docs/news/whats_new.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,31 +97,31 @@ A full list of new events is available [here](/category/richtext-events/)
9797
- [`api.detach()`](api/internal/detach.md)
9898
- [`api.on()`](api/internal/on.md)
9999

100-
## Deprecated API
100+
## Removed API
101101

102102
:::warning
103-
Do not use the deprecated API in your projects! <br/> Refer to the [Migration](news/migration.md) topic for more information.
103+
Do not use the removed API in your projects! <br/> Refer to the [Migration](news/migration.md) topic for more information.
104104
:::
105105

106-
### [Deprecated properties](news/migration.md#properties-migration)
106+
### [Removed properties](news/migration.md#properties-migration)
107107

108108
- [`customStats`](news/migration.md#--customstats)
109109
- [`mode`](news/migration.md#--mode--layoutmode)
110110
- [`toolbarBlocks`](news/migration.md#--toolbarblocks--toolbar)
111111

112-
### [Deprecated methods](news/migration.md#methods-migration)
112+
### [Removed methods](news/migration.md#methods-migration)
113113

114114
- `exitFullScreen()`
115115
- `fullScreen()`
116116
- `getEditorAPI()`
117117
- `getStats()`
118118
- `paint()`
119119

120-
### Deprecated internal methods
120+
### Removed internal methods
121121

122122
- [`events.fire()`](news/migration.md#--fire--use-exec-and-intercept)
123123

124-
### Deprecated events
124+
### Removed events
125125

126126
- `Action`
127127
- `Change`

0 commit comments

Comments
 (0)