@atlaskit/editor-common 74.21.0 → 74.21.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/collab/package.json +15 -0
- package/dist/cjs/collab/index.js +116 -0
- package/dist/cjs/i18n/cs.js +17 -0
- package/dist/cjs/i18n/da.js +17 -0
- package/dist/cjs/i18n/de.js +17 -0
- package/dist/cjs/i18n/en.js +36 -0
- package/dist/cjs/i18n/en_GB.js +36 -0
- package/dist/cjs/i18n/en_ZZ.js +36 -0
- package/dist/cjs/i18n/es.js +17 -0
- package/dist/cjs/i18n/fi.js +17 -0
- package/dist/cjs/i18n/fr.js +17 -0
- package/dist/cjs/i18n/hu.js +17 -0
- package/dist/cjs/i18n/it.js +17 -0
- package/dist/cjs/i18n/ja.js +17 -0
- package/dist/cjs/i18n/ko.js +17 -0
- package/dist/cjs/i18n/nb.js +17 -0
- package/dist/cjs/i18n/nl.js +17 -0
- package/dist/cjs/i18n/pl.js +17 -0
- package/dist/cjs/i18n/pt_BR.js +17 -0
- package/dist/cjs/i18n/ru.js +17 -0
- package/dist/cjs/i18n/sv.js +17 -0
- package/dist/cjs/i18n/th.js +17 -0
- package/dist/cjs/i18n/tr.js +17 -0
- package/dist/cjs/i18n/uk.js +17 -0
- package/dist/cjs/i18n/vi.js +17 -0
- package/dist/cjs/i18n/zh.js +17 -0
- package/dist/cjs/i18n/zh_TW.js +17 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/types/tables.js +5 -0
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/collab/index.js +121 -0
- package/dist/es2019/i18n/cs.js +17 -0
- package/dist/es2019/i18n/da.js +17 -0
- package/dist/es2019/i18n/de.js +17 -0
- package/dist/es2019/i18n/en.js +36 -0
- package/dist/es2019/i18n/en_GB.js +36 -0
- package/dist/es2019/i18n/en_ZZ.js +36 -0
- package/dist/es2019/i18n/es.js +17 -0
- package/dist/es2019/i18n/fi.js +17 -0
- package/dist/es2019/i18n/fr.js +17 -0
- package/dist/es2019/i18n/hu.js +17 -0
- package/dist/es2019/i18n/it.js +17 -0
- package/dist/es2019/i18n/ja.js +17 -0
- package/dist/es2019/i18n/ko.js +17 -0
- package/dist/es2019/i18n/nb.js +17 -0
- package/dist/es2019/i18n/nl.js +17 -0
- package/dist/es2019/i18n/pl.js +17 -0
- package/dist/es2019/i18n/pt_BR.js +17 -0
- package/dist/es2019/i18n/ru.js +17 -0
- package/dist/es2019/i18n/sv.js +17 -0
- package/dist/es2019/i18n/th.js +17 -0
- package/dist/es2019/i18n/tr.js +17 -0
- package/dist/es2019/i18n/uk.js +17 -0
- package/dist/es2019/i18n/vi.js +17 -0
- package/dist/es2019/i18n/zh.js +17 -0
- package/dist/es2019/i18n/zh_TW.js +17 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/types/tables.js +1 -0
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/collab/index.js +121 -0
- package/dist/esm/i18n/cs.js +17 -0
- package/dist/esm/i18n/da.js +17 -0
- package/dist/esm/i18n/de.js +17 -0
- package/dist/esm/i18n/en.js +36 -0
- package/dist/esm/i18n/en_GB.js +36 -0
- package/dist/esm/i18n/en_ZZ.js +36 -0
- package/dist/esm/i18n/es.js +17 -0
- package/dist/esm/i18n/fi.js +17 -0
- package/dist/esm/i18n/fr.js +17 -0
- package/dist/esm/i18n/hu.js +17 -0
- package/dist/esm/i18n/it.js +17 -0
- package/dist/esm/i18n/ja.js +17 -0
- package/dist/esm/i18n/ko.js +17 -0
- package/dist/esm/i18n/nb.js +17 -0
- package/dist/esm/i18n/nl.js +17 -0
- package/dist/esm/i18n/pl.js +17 -0
- package/dist/esm/i18n/pt_BR.js +17 -0
- package/dist/esm/i18n/ru.js +17 -0
- package/dist/esm/i18n/sv.js +17 -0
- package/dist/esm/i18n/th.js +17 -0
- package/dist/esm/i18n/tr.js +17 -0
- package/dist/esm/i18n/uk.js +17 -0
- package/dist/esm/i18n/vi.js +17 -0
- package/dist/esm/i18n/zh.js +17 -0
- package/dist/esm/i18n/zh_TW.js +17 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/types/tables.js +1 -0
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/analytics/types/events.d.ts +1 -1
- package/dist/types/collab/index.d.ts +351 -0
- package/dist/types/i18n/cs.d.ts +17 -0
- package/dist/types/i18n/da.d.ts +17 -0
- package/dist/types/i18n/de.d.ts +17 -0
- package/dist/types/i18n/en.d.ts +36 -0
- package/dist/types/i18n/en_GB.d.ts +36 -0
- package/dist/types/i18n/en_ZZ.d.ts +36 -0
- package/dist/types/i18n/es.d.ts +17 -0
- package/dist/types/i18n/fi.d.ts +17 -0
- package/dist/types/i18n/fr.d.ts +17 -0
- package/dist/types/i18n/hu.d.ts +17 -0
- package/dist/types/i18n/it.d.ts +17 -0
- package/dist/types/i18n/ja.d.ts +17 -0
- package/dist/types/i18n/ko.d.ts +17 -0
- package/dist/types/i18n/nb.d.ts +17 -0
- package/dist/types/i18n/nl.d.ts +17 -0
- package/dist/types/i18n/pl.d.ts +17 -0
- package/dist/types/i18n/pt_BR.d.ts +17 -0
- package/dist/types/i18n/ru.d.ts +17 -0
- package/dist/types/i18n/sv.d.ts +17 -0
- package/dist/types/i18n/th.d.ts +17 -0
- package/dist/types/i18n/tr.d.ts +17 -0
- package/dist/types/i18n/uk.d.ts +17 -0
- package/dist/types/i18n/vi.d.ts +17 -0
- package/dist/types/i18n/zh.d.ts +17 -0
- package/dist/types/i18n/zh_TW.d.ts +17 -0
- package/dist/types/link/LinkPicker/HyperlinkAddToolbar/index.d.ts +1 -1
- package/dist/types/provider-factory/types.d.ts +1 -1
- package/dist/types/types/editor-actions.d.ts +1 -1
- package/dist/types/types/index.d.ts +1 -0
- package/dist/types/types/tables.d.ts +13 -0
- package/dist/types-ts4.5/analytics/types/events.d.ts +1 -1
- package/dist/types-ts4.5/collab/index.d.ts +351 -0
- package/dist/types-ts4.5/i18n/cs.d.ts +17 -0
- package/dist/types-ts4.5/i18n/da.d.ts +17 -0
- package/dist/types-ts4.5/i18n/de.d.ts +17 -0
- package/dist/types-ts4.5/i18n/en.d.ts +36 -0
- package/dist/types-ts4.5/i18n/en_GB.d.ts +36 -0
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +36 -0
- package/dist/types-ts4.5/i18n/es.d.ts +17 -0
- package/dist/types-ts4.5/i18n/fi.d.ts +17 -0
- package/dist/types-ts4.5/i18n/fr.d.ts +17 -0
- package/dist/types-ts4.5/i18n/hu.d.ts +17 -0
- package/dist/types-ts4.5/i18n/it.d.ts +17 -0
- package/dist/types-ts4.5/i18n/ja.d.ts +17 -0
- package/dist/types-ts4.5/i18n/ko.d.ts +17 -0
- package/dist/types-ts4.5/i18n/nb.d.ts +17 -0
- package/dist/types-ts4.5/i18n/nl.d.ts +17 -0
- package/dist/types-ts4.5/i18n/pl.d.ts +17 -0
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +17 -0
- package/dist/types-ts4.5/i18n/ru.d.ts +17 -0
- package/dist/types-ts4.5/i18n/sv.d.ts +17 -0
- package/dist/types-ts4.5/i18n/th.d.ts +17 -0
- package/dist/types-ts4.5/i18n/tr.d.ts +17 -0
- package/dist/types-ts4.5/i18n/uk.d.ts +17 -0
- package/dist/types-ts4.5/i18n/vi.d.ts +17 -0
- package/dist/types-ts4.5/i18n/zh.d.ts +17 -0
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +17 -0
- package/dist/types-ts4.5/link/LinkPicker/HyperlinkAddToolbar/index.d.ts +1 -1
- package/dist/types-ts4.5/provider-factory/types.d.ts +1 -1
- package/dist/types-ts4.5/types/editor-actions.d.ts +1 -1
- package/dist/types-ts4.5/types/index.d.ts +1 -0
- package/dist/types-ts4.5/types/tables.d.ts +13 -0
- package/package.json +2 -2
- package/tmp/api-report-tmp.d.ts +9 -0
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
import type { EditorState, Transaction } from 'prosemirror-state';
|
|
2
|
+
import type { Step } from 'prosemirror-transform';
|
|
3
|
+
import type { JSONDocNode } from '@atlaskit/editor-json-transformer';
|
|
4
|
+
export type NewCollabSyncUpErrorAttributes = {
|
|
5
|
+
lengthOfUnconfirmedSteps?: number;
|
|
6
|
+
tries: number;
|
|
7
|
+
maxRetries: number;
|
|
8
|
+
clientId?: number | string;
|
|
9
|
+
version: number;
|
|
10
|
+
};
|
|
11
|
+
export type ResolvedEditorState<T = any> = {
|
|
12
|
+
content: JSONDocNode | T;
|
|
13
|
+
title: string | null;
|
|
14
|
+
stepVersion: number;
|
|
15
|
+
};
|
|
16
|
+
export declare enum PROVIDER_ERROR_CODE {
|
|
17
|
+
NO_PERMISSION_ERROR = "NO_PERMISSION_ERROR",
|
|
18
|
+
INVALID_USER_TOKEN = "INVALID_USER_TOKEN",
|
|
19
|
+
DOCUMENT_NOT_FOUND = "DOCUMENT_NOT_FOUND",
|
|
20
|
+
LOCKED = "LOCKED",
|
|
21
|
+
FAIL_TO_SAVE = "FAIL_TO_SAVE",
|
|
22
|
+
DOCUMENT_RESTORE_ERROR = "DOCUMENT_RESTORE_ERROR",
|
|
23
|
+
INITIALISATION_ERROR = "INITIALISATION_ERROR",
|
|
24
|
+
NETWORK_ISSUE = "NETWORK_ISSUE",
|
|
25
|
+
INVALID_PROVIDER_CONFIGURATION = "INVALID_PROVIDER_CONFIGURATION",
|
|
26
|
+
INTERNAL_SERVICE_ERROR = "INTERNAL_SERVICE_ERROR",
|
|
27
|
+
DOCUMENT_UPDATE_ERROR = "DOCUMENT_UPDATE_ERROR"
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* This occurs when the provided user token is considered invalid for the given document ARI.
|
|
31
|
+
* It happens during initialisation of the provider.
|
|
32
|
+
* It could mean the document has been deleted (hence not found).
|
|
33
|
+
* @message Message returned to editor, i.e User does not have permissions to access this document or document is not found
|
|
34
|
+
* @recoverable It is recoverable, as we will try to refresh the token.
|
|
35
|
+
*/
|
|
36
|
+
type InsufficientEditingPermission = {
|
|
37
|
+
code: PROVIDER_ERROR_CODE.NO_PERMISSION_ERROR;
|
|
38
|
+
message: string;
|
|
39
|
+
recoverable: boolean;
|
|
40
|
+
reason?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @deprecated switch to using either the error code or the recoverable flag
|
|
43
|
+
*/
|
|
44
|
+
status?: number;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Similar to InsufficientEditingPermission, but the user token is invalid because it has expired or been revoked.
|
|
48
|
+
* It may also be an invalid token format.
|
|
49
|
+
* This error is given to the provider by NCS.
|
|
50
|
+
* @message Message returned to editor, i.e. The user token was invalid
|
|
51
|
+
* @recoverable It is recoverable, as we will try to refresh the token.
|
|
52
|
+
*/
|
|
53
|
+
type InvalidUserToken = {
|
|
54
|
+
code: PROVIDER_ERROR_CODE.INVALID_USER_TOKEN;
|
|
55
|
+
message: string;
|
|
56
|
+
recoverable: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* @deprecated switch to using either the error code or the recoverable flag
|
|
59
|
+
*/
|
|
60
|
+
status?: number;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Document not found error, thrown when the provider is unable to find a document with the given ARI and user token.
|
|
64
|
+
* It occurs during fetchCatchup, a function that fetches the latest document state during catchup.
|
|
65
|
+
* We need to recieve a 404 from the document service to throw this error.
|
|
66
|
+
* @message Message returned to editor, i.e. The requested document is not found
|
|
67
|
+
* @recoverable It is recoverable, as the provider can try again later.
|
|
68
|
+
*/
|
|
69
|
+
type DocumentNotFound = {
|
|
70
|
+
code: PROVIDER_ERROR_CODE.DOCUMENT_NOT_FOUND;
|
|
71
|
+
message: string;
|
|
72
|
+
recoverable: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* @deprecated switch to using either the error code or the recoverable flag
|
|
75
|
+
*/
|
|
76
|
+
status?: number;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* This error is thrown when the document is locked by another user.
|
|
80
|
+
* The error is passed to us by NCS.
|
|
81
|
+
* @message Message returned to editor, i.e. The document is currently not available, please try again later
|
|
82
|
+
* @recoverable It is recoverable, as the provider can try again later.
|
|
83
|
+
*/
|
|
84
|
+
type Locked = {
|
|
85
|
+
code: PROVIDER_ERROR_CODE.LOCKED;
|
|
86
|
+
message: string;
|
|
87
|
+
recoverable: boolean;
|
|
88
|
+
status?: number;
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* This error is thrown when the provider is unable to save the document.
|
|
92
|
+
* This can happen when the connection to dynamoDB is lost, or when we do not have sufficient permissions (DYNAMO ERROR).
|
|
93
|
+
* This error is given to us by NCS.
|
|
94
|
+
* @message Message returned to editor, i.e. Collab service is not able to save changes
|
|
95
|
+
* @recoverable It is not recoverable, as we don't want the user to continue editing a document that is not being saved.
|
|
96
|
+
*/
|
|
97
|
+
type FailToSave = {
|
|
98
|
+
code: PROVIDER_ERROR_CODE.FAIL_TO_SAVE;
|
|
99
|
+
message: string;
|
|
100
|
+
recoverable: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* @deprecated switch to using either the error code or the recoverable flag
|
|
103
|
+
*/
|
|
104
|
+
status?: number;
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* This error is thrown when the provider is unable to restore the document.
|
|
108
|
+
* It occurs during onRestore, a function that restores the document to a previous version and reapplies unconfirmed steps.
|
|
109
|
+
* onRestore is called when page recovery has emitted an 'init' event on a page client is currently connected to.
|
|
110
|
+
* It could mean we failed to update the page metadata, or we failed to reapply unconfirmed steps.
|
|
111
|
+
* @message Message returned to editor, i.e. Collab service unable to restore document
|
|
112
|
+
* @recoverable It is not recoverable, as the provider has no further options after this.
|
|
113
|
+
* The user will need to refresh the page to try again.
|
|
114
|
+
*/
|
|
115
|
+
type DocumentNotRestore = {
|
|
116
|
+
code: PROVIDER_ERROR_CODE.DOCUMENT_RESTORE_ERROR;
|
|
117
|
+
message: string;
|
|
118
|
+
recoverable: boolean;
|
|
119
|
+
/**
|
|
120
|
+
* @deprecated switch to using either the error code or the recoverable flag
|
|
121
|
+
*/
|
|
122
|
+
status?: number;
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* The initial document couldn't be loaded from the collab service.
|
|
126
|
+
* This error is given to us by NCS.
|
|
127
|
+
* It could indicate either a network issue, or an internal service error in NCS.
|
|
128
|
+
* @message Message returned to editor, i.e. The initial document couldn't be loaded from the collab service
|
|
129
|
+
* @recoverable It is not recoverable, as the provider cannot do anything to fix it.
|
|
130
|
+
* The user will need to refresh the page to try again.
|
|
131
|
+
*/
|
|
132
|
+
type InitialisationError = {
|
|
133
|
+
code: PROVIDER_ERROR_CODE.INITIALISATION_ERROR;
|
|
134
|
+
message: string;
|
|
135
|
+
recoverable: boolean;
|
|
136
|
+
/**
|
|
137
|
+
* @deprecated switch to using either the error code or the recoverable flag
|
|
138
|
+
*/
|
|
139
|
+
status?: number;
|
|
140
|
+
};
|
|
141
|
+
/**
|
|
142
|
+
* Couldn't reconnect to the collab service (NCS) due to network issues.
|
|
143
|
+
* NCS could be down, or the user could be offline. It's also possible the url is incorrect, or the user is behind a proxy blocking the connection.
|
|
144
|
+
* Fired upon a reconnection attempt error (from Socket.IO Manager)
|
|
145
|
+
* @message Message returned to editor, i.e. Couldn't reconnect to the collab service due to network issues
|
|
146
|
+
* @recoverable It is recoverable, as the provider will try to reconnect.
|
|
147
|
+
*/
|
|
148
|
+
type NetworkIssue = {
|
|
149
|
+
code: PROVIDER_ERROR_CODE.NETWORK_ISSUE;
|
|
150
|
+
message: string;
|
|
151
|
+
recoverable: boolean;
|
|
152
|
+
/**
|
|
153
|
+
* @deprecated switch to using either the error code or the recoverable flag
|
|
154
|
+
*/
|
|
155
|
+
status?: number;
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* This error is thrown when the provider has an invalid configuration.
|
|
159
|
+
* It could happen due to these errors from NCS:
|
|
160
|
+
* NAMESPACE_INVALID
|
|
161
|
+
INVALID_ACTIVATION_ID
|
|
162
|
+
INVALID_DOCUMENT_ARI
|
|
163
|
+
INVALID_CLOUD_ID
|
|
164
|
+
* @message Message returned to editor, i.e. Invalid provider configuration
|
|
165
|
+
* @recoverable It is not recoverable, as the provider cannot do anything to fix it.
|
|
166
|
+
* The service using the provider will need to fix the configuration.
|
|
167
|
+
*/
|
|
168
|
+
type InvalidProviderConfiguration = {
|
|
169
|
+
code: PROVIDER_ERROR_CODE.INVALID_PROVIDER_CONFIGURATION;
|
|
170
|
+
message: string;
|
|
171
|
+
recoverable: boolean;
|
|
172
|
+
reason: string;
|
|
173
|
+
/**
|
|
174
|
+
* @deprecated switch to using either the error code or the recoverable flag
|
|
175
|
+
*/
|
|
176
|
+
status?: number;
|
|
177
|
+
};
|
|
178
|
+
/**
|
|
179
|
+
* This error is thrown when the provider encounters an internal service error, not otherwise accounted for.
|
|
180
|
+
* @message Message returned to editor, i.e. Collab Provider experienced an unrecoverable error
|
|
181
|
+
* @recoverable It is not recoverable, as the provider cannot do anything to fix it.
|
|
182
|
+
*/
|
|
183
|
+
type InternalServiceError = {
|
|
184
|
+
code: PROVIDER_ERROR_CODE.INTERNAL_SERVICE_ERROR;
|
|
185
|
+
message: string;
|
|
186
|
+
recoverable: boolean;
|
|
187
|
+
reason: string;
|
|
188
|
+
/**
|
|
189
|
+
* @deprecated switch to using either the error code or the recoverable flag
|
|
190
|
+
*/
|
|
191
|
+
status?: number;
|
|
192
|
+
};
|
|
193
|
+
type ProviderDocumentUpdateError = {
|
|
194
|
+
code: PROVIDER_ERROR_CODE.DOCUMENT_UPDATE_ERROR;
|
|
195
|
+
message: 'The provider failed to apply changes to the editor';
|
|
196
|
+
recoverable: boolean;
|
|
197
|
+
/**
|
|
198
|
+
* @deprecated switch to using either the error code or the recoverable flag
|
|
199
|
+
*/
|
|
200
|
+
status?: number;
|
|
201
|
+
};
|
|
202
|
+
/**
|
|
203
|
+
* A union of all possible provider errors that can be emitted back to the editor.
|
|
204
|
+
*/
|
|
205
|
+
export type ProviderError = InsufficientEditingPermission | InvalidUserToken | DocumentNotFound | Locked | FailToSave | DocumentNotRestore | InitialisationError | NetworkIssue | InvalidProviderConfiguration | InternalServiceError | ProviderDocumentUpdateError;
|
|
206
|
+
export interface Metadata {
|
|
207
|
+
[key: string]: string | number | boolean;
|
|
208
|
+
}
|
|
209
|
+
export type CollabMetadataPayload = Metadata;
|
|
210
|
+
export interface CollabEventInitData {
|
|
211
|
+
doc?: any;
|
|
212
|
+
json?: any;
|
|
213
|
+
version?: number;
|
|
214
|
+
sid?: string;
|
|
215
|
+
reserveCursor?: boolean;
|
|
216
|
+
}
|
|
217
|
+
export interface CollabInitPayload extends CollabEventInitData {
|
|
218
|
+
doc: any;
|
|
219
|
+
version: number;
|
|
220
|
+
metadata?: Metadata;
|
|
221
|
+
reserveCursor?: boolean;
|
|
222
|
+
}
|
|
223
|
+
export interface CollabEventConnectionData {
|
|
224
|
+
sid: string;
|
|
225
|
+
initial: boolean;
|
|
226
|
+
}
|
|
227
|
+
export type CollabConnectedPayload = CollabEventConnectionData;
|
|
228
|
+
export declare enum DisconnectReason {
|
|
229
|
+
CLIENT_DISCONNECT = "CLIENT_DISCONNECT",
|
|
230
|
+
SERVER_DISCONNECT = "SERVER_DISCONNECT",
|
|
231
|
+
SOCKET_CLOSED = "SOCKET_CLOSED",
|
|
232
|
+
SOCKET_ERROR = "SOCKET_ERROR",
|
|
233
|
+
SOCKET_TIMEOUT = "SOCKET_TIMEOUT",
|
|
234
|
+
UNKNOWN_DISCONNECT = "UNKNOWN_DISCONNECT"
|
|
235
|
+
}
|
|
236
|
+
export interface CollabDisconnectedPayload {
|
|
237
|
+
reason: DisconnectReason;
|
|
238
|
+
sid: string;
|
|
239
|
+
}
|
|
240
|
+
export interface CollabEventRemoteData {
|
|
241
|
+
json?: any;
|
|
242
|
+
newState?: EditorState;
|
|
243
|
+
userIds?: (number | string)[];
|
|
244
|
+
}
|
|
245
|
+
type MarkJson = {
|
|
246
|
+
type: string;
|
|
247
|
+
attrs: {
|
|
248
|
+
[key: string]: any;
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
type NodeJson = {
|
|
252
|
+
type: string;
|
|
253
|
+
attrs: {
|
|
254
|
+
[key: string]: any;
|
|
255
|
+
};
|
|
256
|
+
content: NodeJson[];
|
|
257
|
+
marks: MarkJson[];
|
|
258
|
+
text?: string;
|
|
259
|
+
};
|
|
260
|
+
type SliceJson = {
|
|
261
|
+
content: NodeJson[];
|
|
262
|
+
openStart: number;
|
|
263
|
+
openEnd: number;
|
|
264
|
+
};
|
|
265
|
+
export type StepJson = {
|
|
266
|
+
stepType?: string;
|
|
267
|
+
from?: number;
|
|
268
|
+
to?: number;
|
|
269
|
+
slice?: SliceJson;
|
|
270
|
+
clientId: number | string;
|
|
271
|
+
userId: string;
|
|
272
|
+
createdAt?: number;
|
|
273
|
+
structure?: boolean;
|
|
274
|
+
};
|
|
275
|
+
export interface CollabDataPayload extends CollabEventRemoteData {
|
|
276
|
+
version: number;
|
|
277
|
+
json: StepJson[];
|
|
278
|
+
userIds: (number | string)[];
|
|
279
|
+
}
|
|
280
|
+
export interface CollabSendableSelection {
|
|
281
|
+
type: 'textSelection' | 'nodeSelection';
|
|
282
|
+
anchor?: number | string;
|
|
283
|
+
head?: number | string;
|
|
284
|
+
}
|
|
285
|
+
export interface CollabEventTelepointerData {
|
|
286
|
+
type: 'telepointer';
|
|
287
|
+
selection: CollabSendableSelection;
|
|
288
|
+
sessionId: string;
|
|
289
|
+
}
|
|
290
|
+
export type CollabTelepointerPayload = CollabEventTelepointerData;
|
|
291
|
+
export interface CollabParticipant {
|
|
292
|
+
lastActive: number;
|
|
293
|
+
sessionId: string;
|
|
294
|
+
avatar: string;
|
|
295
|
+
name: string;
|
|
296
|
+
cursorPos?: number;
|
|
297
|
+
}
|
|
298
|
+
export type ProviderParticipant = CollabParticipant & {
|
|
299
|
+
userId: string;
|
|
300
|
+
clientId: number | string;
|
|
301
|
+
email: string;
|
|
302
|
+
};
|
|
303
|
+
export interface CollabEventPresenceData {
|
|
304
|
+
joined?: ProviderParticipant[];
|
|
305
|
+
left?: {
|
|
306
|
+
sessionId: string;
|
|
307
|
+
}[];
|
|
308
|
+
}
|
|
309
|
+
export type CollabPresencePayload = CollabEventPresenceData;
|
|
310
|
+
export type CollabLocalStepsPayload = {
|
|
311
|
+
steps: readonly Step[];
|
|
312
|
+
};
|
|
313
|
+
export interface CollabEventConnectingData {
|
|
314
|
+
initial: boolean;
|
|
315
|
+
}
|
|
316
|
+
export type CollabConnectingPayload = CollabEventConnectingData;
|
|
317
|
+
export type CollabCommitStatusEventPayload = {
|
|
318
|
+
status: 'attempt' | 'success' | 'failure';
|
|
319
|
+
version: number;
|
|
320
|
+
};
|
|
321
|
+
export interface CollabEvents {
|
|
322
|
+
'metadata:changed': Metadata;
|
|
323
|
+
init: CollabInitPayload;
|
|
324
|
+
connected: CollabConnectedPayload;
|
|
325
|
+
disconnected: CollabDisconnectedPayload;
|
|
326
|
+
data: CollabDataPayload;
|
|
327
|
+
telepointer: CollabTelepointerPayload;
|
|
328
|
+
presence: CollabPresencePayload;
|
|
329
|
+
'local-steps': CollabLocalStepsPayload;
|
|
330
|
+
error: ProviderError;
|
|
331
|
+
entity: any;
|
|
332
|
+
connecting: CollabConnectingPayload;
|
|
333
|
+
'commit-status': CollabCommitStatusEventPayload;
|
|
334
|
+
}
|
|
335
|
+
export type SyncUpErrorFunction = (attributes: NewCollabSyncUpErrorAttributes) => void;
|
|
336
|
+
export interface CollabEditProvider<Events extends CollabEvents = CollabEvents> {
|
|
337
|
+
initialize(getState: () => any, createStep: (json: object) => Step): this;
|
|
338
|
+
setup(props: {
|
|
339
|
+
getState?: () => EditorState;
|
|
340
|
+
onSyncUpError?: SyncUpErrorFunction;
|
|
341
|
+
}): this;
|
|
342
|
+
send(tr: Transaction, oldState: EditorState, newState: EditorState): void;
|
|
343
|
+
on(evt: keyof Events, handler: (...args: any) => void): this;
|
|
344
|
+
off(evt: keyof Events, handler: (...args: any) => void): this;
|
|
345
|
+
unsubscribeAll(evt: keyof Events): this;
|
|
346
|
+
sendMessage<K extends keyof Events>(data: {
|
|
347
|
+
type: K;
|
|
348
|
+
} & Events[K]): void;
|
|
349
|
+
getFinalAcknowledgedState(): Promise<ResolvedEditorState>;
|
|
350
|
+
}
|
|
351
|
+
export {};
|
package/dist/types/i18n/cs.d.ts
CHANGED
|
@@ -11,9 +11,13 @@ declare const _default: {
|
|
|
11
11
|
'fabric.editor.alignImageCenter': string;
|
|
12
12
|
'fabric.editor.alignImageLeft': string;
|
|
13
13
|
'fabric.editor.alignImageRight': string;
|
|
14
|
+
'fabric.editor.blockCardUnavailable': string;
|
|
15
|
+
'fabric.editor.blockDescription': string;
|
|
16
|
+
'fabric.editor.blockTitle': string;
|
|
14
17
|
'fabric.editor.blockquote': string;
|
|
15
18
|
'fabric.editor.cancelButton': string;
|
|
16
19
|
'fabric.editor.captionPlaceholder': string;
|
|
20
|
+
'fabric.editor.cardFloatingControls': string;
|
|
17
21
|
'fabric.editor.codeBidiWarningLabel': string;
|
|
18
22
|
'fabric.editor.codeBlockCopyButton.copiedToClipboard': string;
|
|
19
23
|
'fabric.editor.codeBlockCopyButton.copyToClipboard': string;
|
|
@@ -28,8 +32,16 @@ declare const _default: {
|
|
|
28
32
|
'fabric.editor.date.description': string;
|
|
29
33
|
'fabric.editor.decision': string;
|
|
30
34
|
'fabric.editor.decision.description': string;
|
|
35
|
+
'fabric.editor.displayBlock': string;
|
|
36
|
+
'fabric.editor.displayEmbed': string;
|
|
37
|
+
'fabric.editor.displayInline': string;
|
|
38
|
+
'fabric.editor.displayLink': string;
|
|
39
|
+
'fabric.editor.displayOptionUnavailableInParentNode': string;
|
|
40
|
+
'fabric.editor.ecombedDescription': string;
|
|
41
|
+
'fabric.editor.edit.datasource': string;
|
|
31
42
|
'fabric.editor.editLink': string;
|
|
32
43
|
'fabric.editor.editMode.inviteToEditButton.title': string;
|
|
44
|
+
'fabric.editor.embedTitle': string;
|
|
33
45
|
'fabric.editor.emoji': string;
|
|
34
46
|
'fabric.editor.emoji.description': string;
|
|
35
47
|
'fabric.editor.emptyLink': string;
|
|
@@ -46,6 +58,8 @@ declare const _default: {
|
|
|
46
58
|
'fabric.editor.horizontalRule.description': string;
|
|
47
59
|
'fabric.editor.hyperlinkToolbarPlaceholder': string;
|
|
48
60
|
'fabric.editor.image': string;
|
|
61
|
+
'fabric.editor.inlineDescription': string;
|
|
62
|
+
'fabric.editor.inlineTitle': string;
|
|
49
63
|
'fabric.editor.insertMenu': string;
|
|
50
64
|
'fabric.editor.invalidLink': string;
|
|
51
65
|
'fabric.editor.layoutFixedWidth': string;
|
|
@@ -85,6 +99,9 @@ declare const _default: {
|
|
|
85
99
|
'fabric.editor.unsupportedBlockContent': string;
|
|
86
100
|
'fabric.editor.unsupportedContentTooltip': string;
|
|
87
101
|
'fabric.editor.unsupportedInlineContent': string;
|
|
102
|
+
'fabric.editor.url': string;
|
|
103
|
+
'fabric.editor.urlDescription': string;
|
|
104
|
+
'fabric.editor.urlTitle': string;
|
|
88
105
|
'fabric.editor.viewMore': string;
|
|
89
106
|
'fabric.editor.visit': string;
|
|
90
107
|
'fabric.editor.wrapLeft': string;
|
package/dist/types/i18n/da.d.ts
CHANGED
|
@@ -11,9 +11,13 @@ declare const _default: {
|
|
|
11
11
|
'fabric.editor.alignImageCenter': string;
|
|
12
12
|
'fabric.editor.alignImageLeft': string;
|
|
13
13
|
'fabric.editor.alignImageRight': string;
|
|
14
|
+
'fabric.editor.blockCardUnavailable': string;
|
|
15
|
+
'fabric.editor.blockDescription': string;
|
|
16
|
+
'fabric.editor.blockTitle': string;
|
|
14
17
|
'fabric.editor.blockquote': string;
|
|
15
18
|
'fabric.editor.cancelButton': string;
|
|
16
19
|
'fabric.editor.captionPlaceholder': string;
|
|
20
|
+
'fabric.editor.cardFloatingControls': string;
|
|
17
21
|
'fabric.editor.codeBidiWarningLabel': string;
|
|
18
22
|
'fabric.editor.codeBlockCopyButton.copiedToClipboard': string;
|
|
19
23
|
'fabric.editor.codeBlockCopyButton.copyToClipboard': string;
|
|
@@ -28,8 +32,16 @@ declare const _default: {
|
|
|
28
32
|
'fabric.editor.date.description': string;
|
|
29
33
|
'fabric.editor.decision': string;
|
|
30
34
|
'fabric.editor.decision.description': string;
|
|
35
|
+
'fabric.editor.displayBlock': string;
|
|
36
|
+
'fabric.editor.displayEmbed': string;
|
|
37
|
+
'fabric.editor.displayInline': string;
|
|
38
|
+
'fabric.editor.displayLink': string;
|
|
39
|
+
'fabric.editor.displayOptionUnavailableInParentNode': string;
|
|
40
|
+
'fabric.editor.ecombedDescription': string;
|
|
41
|
+
'fabric.editor.edit.datasource': string;
|
|
31
42
|
'fabric.editor.editLink': string;
|
|
32
43
|
'fabric.editor.editMode.inviteToEditButton.title': string;
|
|
44
|
+
'fabric.editor.embedTitle': string;
|
|
33
45
|
'fabric.editor.emoji': string;
|
|
34
46
|
'fabric.editor.emoji.description': string;
|
|
35
47
|
'fabric.editor.emptyLink': string;
|
|
@@ -46,6 +58,8 @@ declare const _default: {
|
|
|
46
58
|
'fabric.editor.horizontalRule.description': string;
|
|
47
59
|
'fabric.editor.hyperlinkToolbarPlaceholder': string;
|
|
48
60
|
'fabric.editor.image': string;
|
|
61
|
+
'fabric.editor.inlineDescription': string;
|
|
62
|
+
'fabric.editor.inlineTitle': string;
|
|
49
63
|
'fabric.editor.insertMenu': string;
|
|
50
64
|
'fabric.editor.invalidLink': string;
|
|
51
65
|
'fabric.editor.layoutFixedWidth': string;
|
|
@@ -85,6 +99,9 @@ declare const _default: {
|
|
|
85
99
|
'fabric.editor.unsupportedBlockContent': string;
|
|
86
100
|
'fabric.editor.unsupportedContentTooltip': string;
|
|
87
101
|
'fabric.editor.unsupportedInlineContent': string;
|
|
102
|
+
'fabric.editor.url': string;
|
|
103
|
+
'fabric.editor.urlDescription': string;
|
|
104
|
+
'fabric.editor.urlTitle': string;
|
|
88
105
|
'fabric.editor.viewMore': string;
|
|
89
106
|
'fabric.editor.visit': string;
|
|
90
107
|
'fabric.editor.wrapLeft': string;
|
package/dist/types/i18n/de.d.ts
CHANGED
|
@@ -11,9 +11,13 @@ declare const _default: {
|
|
|
11
11
|
'fabric.editor.alignImageCenter': string;
|
|
12
12
|
'fabric.editor.alignImageLeft': string;
|
|
13
13
|
'fabric.editor.alignImageRight': string;
|
|
14
|
+
'fabric.editor.blockCardUnavailable': string;
|
|
15
|
+
'fabric.editor.blockDescription': string;
|
|
16
|
+
'fabric.editor.blockTitle': string;
|
|
14
17
|
'fabric.editor.blockquote': string;
|
|
15
18
|
'fabric.editor.cancelButton': string;
|
|
16
19
|
'fabric.editor.captionPlaceholder': string;
|
|
20
|
+
'fabric.editor.cardFloatingControls': string;
|
|
17
21
|
'fabric.editor.codeBidiWarningLabel': string;
|
|
18
22
|
'fabric.editor.codeBlockCopyButton.copiedToClipboard': string;
|
|
19
23
|
'fabric.editor.codeBlockCopyButton.copyToClipboard': string;
|
|
@@ -28,8 +32,16 @@ declare const _default: {
|
|
|
28
32
|
'fabric.editor.date.description': string;
|
|
29
33
|
'fabric.editor.decision': string;
|
|
30
34
|
'fabric.editor.decision.description': string;
|
|
35
|
+
'fabric.editor.displayBlock': string;
|
|
36
|
+
'fabric.editor.displayEmbed': string;
|
|
37
|
+
'fabric.editor.displayInline': string;
|
|
38
|
+
'fabric.editor.displayLink': string;
|
|
39
|
+
'fabric.editor.displayOptionUnavailableInParentNode': string;
|
|
40
|
+
'fabric.editor.ecombedDescription': string;
|
|
41
|
+
'fabric.editor.edit.datasource': string;
|
|
31
42
|
'fabric.editor.editLink': string;
|
|
32
43
|
'fabric.editor.editMode.inviteToEditButton.title': string;
|
|
44
|
+
'fabric.editor.embedTitle': string;
|
|
33
45
|
'fabric.editor.emoji': string;
|
|
34
46
|
'fabric.editor.emoji.description': string;
|
|
35
47
|
'fabric.editor.emptyLink': string;
|
|
@@ -46,6 +58,8 @@ declare const _default: {
|
|
|
46
58
|
'fabric.editor.horizontalRule.description': string;
|
|
47
59
|
'fabric.editor.hyperlinkToolbarPlaceholder': string;
|
|
48
60
|
'fabric.editor.image': string;
|
|
61
|
+
'fabric.editor.inlineDescription': string;
|
|
62
|
+
'fabric.editor.inlineTitle': string;
|
|
49
63
|
'fabric.editor.insertMenu': string;
|
|
50
64
|
'fabric.editor.invalidLink': string;
|
|
51
65
|
'fabric.editor.layoutFixedWidth': string;
|
|
@@ -85,6 +99,9 @@ declare const _default: {
|
|
|
85
99
|
'fabric.editor.unsupportedBlockContent': string;
|
|
86
100
|
'fabric.editor.unsupportedContentTooltip': string;
|
|
87
101
|
'fabric.editor.unsupportedInlineContent': string;
|
|
102
|
+
'fabric.editor.url': string;
|
|
103
|
+
'fabric.editor.urlDescription': string;
|
|
104
|
+
'fabric.editor.urlTitle': string;
|
|
88
105
|
'fabric.editor.viewMore': string;
|
|
89
106
|
'fabric.editor.visit': string;
|
|
90
107
|
'fabric.editor.wrapLeft': string;
|
package/dist/types/i18n/en.d.ts
CHANGED
|
@@ -11,9 +11,16 @@ declare const _default: {
|
|
|
11
11
|
'fabric.editor.alignImageCenter': string;
|
|
12
12
|
'fabric.editor.alignImageLeft': string;
|
|
13
13
|
'fabric.editor.alignImageRight': string;
|
|
14
|
+
'fabric.editor.blockCardUnavailable': string;
|
|
15
|
+
'fabric.editor.blockDescription': string;
|
|
16
|
+
'fabric.editor.blockTitle': string;
|
|
14
17
|
'fabric.editor.blockquote': string;
|
|
18
|
+
'fabric.editor.bug': string;
|
|
15
19
|
'fabric.editor.cancelButton': string;
|
|
16
20
|
'fabric.editor.captionPlaceholder': string;
|
|
21
|
+
'fabric.editor.cardFloatingControls': string;
|
|
22
|
+
'fabric.editor.clearLink': string;
|
|
23
|
+
'fabric.editor.clearLinkText': string;
|
|
17
24
|
'fabric.editor.codeBidiWarningLabel': string;
|
|
18
25
|
'fabric.editor.codeBlockCopyButton.copiedToClipboard': string;
|
|
19
26
|
'fabric.editor.codeBlockCopyButton.copyToClipboard': string;
|
|
@@ -28,11 +35,22 @@ declare const _default: {
|
|
|
28
35
|
'fabric.editor.date.description': string;
|
|
29
36
|
'fabric.editor.decision': string;
|
|
30
37
|
'fabric.editor.decision.description': string;
|
|
38
|
+
'fabric.editor.defaultAltText': string;
|
|
39
|
+
'fabric.editor.displayBlock': string;
|
|
40
|
+
'fabric.editor.displayEmbed': string;
|
|
41
|
+
'fabric.editor.displayInline': string;
|
|
42
|
+
'fabric.editor.displayLink': string;
|
|
43
|
+
'fabric.editor.displayOptionUnavailableInParentNode': string;
|
|
44
|
+
'fabric.editor.displayText': string;
|
|
45
|
+
'fabric.editor.ecombedDescription': string;
|
|
46
|
+
'fabric.editor.edit.datasource': string;
|
|
31
47
|
'fabric.editor.editLink': string;
|
|
32
48
|
'fabric.editor.editMode.inviteToEditButton.title': string;
|
|
49
|
+
'fabric.editor.embedTitle': string;
|
|
33
50
|
'fabric.editor.emoji': string;
|
|
34
51
|
'fabric.editor.emoji.description': string;
|
|
35
52
|
'fabric.editor.emptyLink': string;
|
|
53
|
+
'fabric.editor.epic': string;
|
|
36
54
|
'fabric.editor.expand': string;
|
|
37
55
|
'fabric.editor.expand.description': string;
|
|
38
56
|
'fabric.editor.expandDefaultTitle': string;
|
|
@@ -40,12 +58,24 @@ declare const _default: {
|
|
|
40
58
|
'fabric.editor.expandPlaceholder': string;
|
|
41
59
|
'fabric.editor.feedbackDialog': string;
|
|
42
60
|
'fabric.editor.feedbackDialog.description': string;
|
|
61
|
+
'fabric.editor.headingLink.hyperlinkIconBlogLabel': string;
|
|
62
|
+
'fabric.editor.headingLink.hyperlinkIconBugLabel': string;
|
|
63
|
+
'fabric.editor.headingLink.hyperlinkIconIssueLabel': string;
|
|
64
|
+
'fabric.editor.headingLink.hyperlinkIconPageLabel': string;
|
|
65
|
+
'fabric.editor.headingLink.hyperlinkIconStoryLabel': string;
|
|
66
|
+
'fabric.editor.headingLink.hyperlinkIconTaskLabel': string;
|
|
43
67
|
'fabric.editor.help': string;
|
|
44
68
|
'fabric.editor.help.description': string;
|
|
45
69
|
'fabric.editor.horizontalRule': string;
|
|
46
70
|
'fabric.editor.horizontalRule.description': string;
|
|
71
|
+
'fabric.editor.hyperlink.linkAriaLabel': string;
|
|
72
|
+
'fabric.editor.hyperlink.searchLinkAriaDescription': string;
|
|
73
|
+
'fabric.editor.hyperlink.searchLinkResults': string;
|
|
47
74
|
'fabric.editor.hyperlinkToolbarPlaceholder': string;
|
|
48
75
|
'fabric.editor.image': string;
|
|
76
|
+
'fabric.editor.improvement': string;
|
|
77
|
+
'fabric.editor.inlineDescription': string;
|
|
78
|
+
'fabric.editor.inlineTitle': string;
|
|
49
79
|
'fabric.editor.insertMenu': string;
|
|
50
80
|
'fabric.editor.invalidLink': string;
|
|
51
81
|
'fabric.editor.layoutFixedWidth': string;
|
|
@@ -69,8 +99,11 @@ declare const _default: {
|
|
|
69
99
|
'fabric.editor.settingsLinks': string;
|
|
70
100
|
'fabric.editor.status': string;
|
|
71
101
|
'fabric.editor.status.description': string;
|
|
102
|
+
'fabric.editor.story': string;
|
|
103
|
+
'fabric.editor.subTask': string;
|
|
72
104
|
'fabric.editor.table': string;
|
|
73
105
|
'fabric.editor.table.description': string;
|
|
106
|
+
'fabric.editor.task': string;
|
|
74
107
|
'fabric.editor.time.ago': string;
|
|
75
108
|
'fabric.editor.time.updated': string;
|
|
76
109
|
'fabric.editor.time.viewed': string;
|
|
@@ -85,6 +118,9 @@ declare const _default: {
|
|
|
85
118
|
'fabric.editor.unsupportedBlockContent': string;
|
|
86
119
|
'fabric.editor.unsupportedContentTooltip': string;
|
|
87
120
|
'fabric.editor.unsupportedInlineContent': string;
|
|
121
|
+
'fabric.editor.url': string;
|
|
122
|
+
'fabric.editor.urlDescription': string;
|
|
123
|
+
'fabric.editor.urlTitle': string;
|
|
88
124
|
'fabric.editor.viewMore': string;
|
|
89
125
|
'fabric.editor.visit': string;
|
|
90
126
|
'fabric.editor.wrapLeft': string;
|
|
@@ -11,9 +11,16 @@ declare const _default: {
|
|
|
11
11
|
'fabric.editor.alignImageCenter': string;
|
|
12
12
|
'fabric.editor.alignImageLeft': string;
|
|
13
13
|
'fabric.editor.alignImageRight': string;
|
|
14
|
+
'fabric.editor.blockCardUnavailable': string;
|
|
15
|
+
'fabric.editor.blockDescription': string;
|
|
16
|
+
'fabric.editor.blockTitle': string;
|
|
14
17
|
'fabric.editor.blockquote': string;
|
|
18
|
+
'fabric.editor.bug': string;
|
|
15
19
|
'fabric.editor.cancelButton': string;
|
|
16
20
|
'fabric.editor.captionPlaceholder': string;
|
|
21
|
+
'fabric.editor.cardFloatingControls': string;
|
|
22
|
+
'fabric.editor.clearLink': string;
|
|
23
|
+
'fabric.editor.clearLinkText': string;
|
|
17
24
|
'fabric.editor.codeBidiWarningLabel': string;
|
|
18
25
|
'fabric.editor.codeBlockCopyButton.copiedToClipboard': string;
|
|
19
26
|
'fabric.editor.codeBlockCopyButton.copyToClipboard': string;
|
|
@@ -28,11 +35,22 @@ declare const _default: {
|
|
|
28
35
|
'fabric.editor.date.description': string;
|
|
29
36
|
'fabric.editor.decision': string;
|
|
30
37
|
'fabric.editor.decision.description': string;
|
|
38
|
+
'fabric.editor.defaultAltText': string;
|
|
39
|
+
'fabric.editor.displayBlock': string;
|
|
40
|
+
'fabric.editor.displayEmbed': string;
|
|
41
|
+
'fabric.editor.displayInline': string;
|
|
42
|
+
'fabric.editor.displayLink': string;
|
|
43
|
+
'fabric.editor.displayOptionUnavailableInParentNode': string;
|
|
44
|
+
'fabric.editor.displayText': string;
|
|
45
|
+
'fabric.editor.ecombedDescription': string;
|
|
46
|
+
'fabric.editor.edit.datasource': string;
|
|
31
47
|
'fabric.editor.editLink': string;
|
|
32
48
|
'fabric.editor.editMode.inviteToEditButton.title': string;
|
|
49
|
+
'fabric.editor.embedTitle': string;
|
|
33
50
|
'fabric.editor.emoji': string;
|
|
34
51
|
'fabric.editor.emoji.description': string;
|
|
35
52
|
'fabric.editor.emptyLink': string;
|
|
53
|
+
'fabric.editor.epic': string;
|
|
36
54
|
'fabric.editor.expand': string;
|
|
37
55
|
'fabric.editor.expand.description': string;
|
|
38
56
|
'fabric.editor.expandDefaultTitle': string;
|
|
@@ -40,12 +58,24 @@ declare const _default: {
|
|
|
40
58
|
'fabric.editor.expandPlaceholder': string;
|
|
41
59
|
'fabric.editor.feedbackDialog': string;
|
|
42
60
|
'fabric.editor.feedbackDialog.description': string;
|
|
61
|
+
'fabric.editor.headingLink.hyperlinkIconBlogLabel': string;
|
|
62
|
+
'fabric.editor.headingLink.hyperlinkIconBugLabel': string;
|
|
63
|
+
'fabric.editor.headingLink.hyperlinkIconIssueLabel': string;
|
|
64
|
+
'fabric.editor.headingLink.hyperlinkIconPageLabel': string;
|
|
65
|
+
'fabric.editor.headingLink.hyperlinkIconStoryLabel': string;
|
|
66
|
+
'fabric.editor.headingLink.hyperlinkIconTaskLabel': string;
|
|
43
67
|
'fabric.editor.help': string;
|
|
44
68
|
'fabric.editor.help.description': string;
|
|
45
69
|
'fabric.editor.horizontalRule': string;
|
|
46
70
|
'fabric.editor.horizontalRule.description': string;
|
|
71
|
+
'fabric.editor.hyperlink.linkAriaLabel': string;
|
|
72
|
+
'fabric.editor.hyperlink.searchLinkAriaDescription': string;
|
|
73
|
+
'fabric.editor.hyperlink.searchLinkResults': string;
|
|
47
74
|
'fabric.editor.hyperlinkToolbarPlaceholder': string;
|
|
48
75
|
'fabric.editor.image': string;
|
|
76
|
+
'fabric.editor.improvement': string;
|
|
77
|
+
'fabric.editor.inlineDescription': string;
|
|
78
|
+
'fabric.editor.inlineTitle': string;
|
|
49
79
|
'fabric.editor.insertMenu': string;
|
|
50
80
|
'fabric.editor.invalidLink': string;
|
|
51
81
|
'fabric.editor.layoutFixedWidth': string;
|
|
@@ -69,8 +99,11 @@ declare const _default: {
|
|
|
69
99
|
'fabric.editor.settingsLinks': string;
|
|
70
100
|
'fabric.editor.status': string;
|
|
71
101
|
'fabric.editor.status.description': string;
|
|
102
|
+
'fabric.editor.story': string;
|
|
103
|
+
'fabric.editor.subTask': string;
|
|
72
104
|
'fabric.editor.table': string;
|
|
73
105
|
'fabric.editor.table.description': string;
|
|
106
|
+
'fabric.editor.task': string;
|
|
74
107
|
'fabric.editor.time.ago': string;
|
|
75
108
|
'fabric.editor.time.updated': string;
|
|
76
109
|
'fabric.editor.time.viewed': string;
|
|
@@ -85,6 +118,9 @@ declare const _default: {
|
|
|
85
118
|
'fabric.editor.unsupportedBlockContent': string;
|
|
86
119
|
'fabric.editor.unsupportedContentTooltip': string;
|
|
87
120
|
'fabric.editor.unsupportedInlineContent': string;
|
|
121
|
+
'fabric.editor.url': string;
|
|
122
|
+
'fabric.editor.urlDescription': string;
|
|
123
|
+
'fabric.editor.urlTitle': string;
|
|
88
124
|
'fabric.editor.viewMore': string;
|
|
89
125
|
'fabric.editor.visit': string;
|
|
90
126
|
'fabric.editor.wrapLeft': string;
|