@procore/text-editor 0.5.1 → 1.0.1
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/.jest/ckeditorMock.js +47 -23
- package/CHANGELOG.md +34 -0
- package/README.md +96 -7
- package/dist/TextEditor/CKTextEditor.d.ts +3 -0
- package/dist/TextEditor/CKTextEditor.js +318 -0
- package/dist/TextEditor/CKTextEditor.js.map +1 -0
- package/dist/TextEditor/Providers/FeatureFlagProvider.d.ts +5 -0
- package/dist/TextEditor/Providers/FeatureFlagProvider.js +34 -0
- package/dist/TextEditor/Providers/FeatureFlagProvider.js.map +1 -0
- package/dist/TextEditor/TextEditor.d.ts +1 -1
- package/dist/TextEditor/TextEditor.js +16 -232
- package/dist/TextEditor/TextEditor.js.map +1 -1
- package/dist/TextEditor/TextEditor.styles.d.ts +14 -1
- package/dist/TextEditor/TextEditor.styles.js +18 -5
- package/dist/TextEditor/TextEditor.styles.js.map +1 -1
- package/dist/TextEditor/TextEditor.types.d.ts +82 -1
- package/dist/TextEditor/TextEditor.types.js.map +1 -1
- package/dist/TextEditor/TextEditorI18nProvider.d.ts +2 -0
- package/dist/TextEditor/TextEditorI18nProvider.js +27 -0
- package/dist/TextEditor/TextEditorI18nProvider.js.map +1 -0
- package/dist/TextEditor/TinyMCETextEditor.d.ts +3 -0
- package/dist/TextEditor/TinyMCETextEditor.js +63 -0
- package/dist/TextEditor/TinyMCETextEditor.js.map +1 -0
- package/dist/TextEditor/plugins/ProcoreImageUploadPlugin/ProcoreImageUploadPlugin.d.ts +48 -0
- package/dist/TextEditor/plugins/ProcoreImageUploadPlugin/ProcoreImageUploadPlugin.js +441 -0
- package/dist/TextEditor/plugins/ProcoreImageUploadPlugin/ProcoreImageUploadPlugin.js.map +1 -0
- package/dist/TextEditor/plugins/ProcoreImageUploadPlugin/index.d.ts +1 -0
- package/dist/TextEditor/plugins/ProcoreImageUploadPlugin/index.js +2 -0
- package/dist/TextEditor/plugins/ProcoreImageUploadPlugin/index.js.map +1 -0
- package/dist/TextEditor/utils/config.d.ts +6 -1
- package/dist/TextEditor/utils/config.js +23 -9
- package/dist/TextEditor/utils/config.js.map +1 -1
- package/dist/TextEditor/utils/imageAttributes.d.ts +6 -0
- package/dist/TextEditor/utils/imageAttributes.js +17 -0
- package/dist/TextEditor/utils/imageAttributes.js.map +1 -0
- package/dist/TextEditor/utils/imageUrls.d.ts +2 -0
- package/dist/TextEditor/utils/imageUrls.js +36 -0
- package/dist/TextEditor/utils/imageUrls.js.map +1 -0
- package/dist/TextEditor/utils/richTextEditorHandlers.d.ts +9 -0
- package/dist/TextEditor/utils/richTextEditorHandlers.js +234 -0
- package/dist/TextEditor/utils/richTextEditorHandlers.js.map +1 -0
- package/dist/TextEditorOutput/TextEditorOutput.styles.js +2 -2
- package/dist/TextEditorOutput/TextEditorOutput.styles.js.map +1 -1
- package/dist/TextEditorOutput/TextEditorOutput.utils.d.ts +1 -1
- package/dist/TextEditorOutput/TextEditorOutput.utils.js +158 -6
- package/dist/TextEditorOutput/TextEditorOutput.utils.js.map +1 -1
- package/dist/_typedoc/TextEditor/TextEditor.types.json +215 -17
- package/dist/_typedoc/TextEditor/TextEditorProvider.types.json +2 -2
- package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +3 -3
- package/dist/ckeditor5-premium-features.d.js +2 -0
- package/dist/ckeditor5-premium-features.d.js.map +1 -0
- package/dist/locales/de-DE.json +17 -0
- package/dist/locales/en-AU.json +17 -0
- package/dist/locales/en-CA.json +17 -0
- package/dist/locales/en-GB.json +17 -0
- package/dist/locales/en.json +17 -0
- package/dist/locales/es-ES.json +17 -0
- package/dist/locales/es.json +17 -0
- package/dist/locales/fr-CA.json +17 -0
- package/dist/locales/fr-FR.json +17 -0
- package/dist/locales/is-IS.json +17 -0
- package/dist/locales/it-IT.json +17 -0
- package/dist/locales/ja-JP.json +17 -0
- package/dist/locales/nb-NO.json +17 -0
- package/dist/locales/pl-PL.json +17 -0
- package/dist/locales/pseudo.json +17 -0
- package/dist/locales/pt-BR.json +17 -0
- package/dist/locales/pt-PT.json +17 -0
- package/dist/locales/th-TH.json +17 -0
- package/dist/locales/zh-SG.json +17 -0
- package/dist/locales/zh-TW.json +17 -0
- package/package.json +8 -3
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"textEditor" : {
|
|
3
|
+
"imageUpload" : {
|
|
4
|
+
"noFile" : "Við fundum enga mynd til að hlaða inn. Veldu skrá og reyndu aftur.",
|
|
5
|
+
"aborted" : "Hætt var við að hlaða myndinni áður en henni lauk. Reyndu að hlaða því upp aftur.",
|
|
6
|
+
"unsupportedType" : "%{type}skrár eru ekki studdar.",
|
|
7
|
+
"pdfUnsupportedType" : "%{type}myndir birtast ekki í PDF útflutningi.",
|
|
8
|
+
"dismissWarning" : "Hunsa viðvörun",
|
|
9
|
+
"fileTooLarge" : "Myndir verða að vera 10 MB eða minni.",
|
|
10
|
+
"imageLimit" : "Þú hefur náð hámarkinu %{count} myndir. Fjarlægðu eitt áður en þú bætir öðru við.",
|
|
11
|
+
"unreadable" : "Ekki var hægt að lesa þessa skrá sem mynd. Veldu aðra mynd og reyndu aftur.",
|
|
12
|
+
"failed" : "Við gátum ekki hlaðið þessari mynd inn. Athugaðu tenginguna þína og reyndu aftur.",
|
|
13
|
+
"invalidProstoreFileId" : "Eitthvað fór úrskeiðis við að hlaða þessari mynd inn. Vinsamlegast reynið aftur.",
|
|
14
|
+
"invalidImageUrl" : "Eitthvað fór úrskeiðis við að hlaða þessari mynd inn. Vinsamlegast reynið aftur."
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"textEditor" : {
|
|
3
|
+
"imageUpload" : {
|
|
4
|
+
"noFile" : "Impossibile trovare un'immagine da caricare. Scegliere un file e riprovare.",
|
|
5
|
+
"aborted" : "Il caricamento dell'immagine è stato annullato prima del completamento. Provare a caricarlo di nuovo.",
|
|
6
|
+
"unsupportedType" : "I file %{type} non sono supportati.",
|
|
7
|
+
"pdfUnsupportedType" : "Le immagini %{type} non verranno visualizzate nelle esportazioni PDF.",
|
|
8
|
+
"dismissWarning" : "Ignora avviso",
|
|
9
|
+
"fileTooLarge" : "Le immagini devono avere una dimensione massima di 10 MB.",
|
|
10
|
+
"imageLimit" : "È stato raggiunto il limite di %{count} immagini. Rimuoverne una prima di aggiungerne un'altra.",
|
|
11
|
+
"unreadable" : "Impossibile leggere questo file come immagine. Scegliere un'immagine diversa e riprovare.",
|
|
12
|
+
"failed" : "Impossibile caricare questa immagine. Verificare la connessione e riprovare.",
|
|
13
|
+
"invalidProstoreFileId" : "Si è verificato un errore durante il caricamento di questa immagine. Riprovare.",
|
|
14
|
+
"invalidImageUrl" : "Si è verificato un errore durante il caricamento di questa immagine. Riprovare."
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"textEditor" : {
|
|
3
|
+
"imageUpload" : {
|
|
4
|
+
"noFile" : "アップロードする画像が見つかりませんでした。ファイルを選択して、もう一度お試しください。",
|
|
5
|
+
"aborted" : "画像アップロードは完了する前にキャンセルされました。もう一度アップロードしてみてください。",
|
|
6
|
+
"unsupportedType" : "%{type}ファイルはサポートされていません。",
|
|
7
|
+
"pdfUnsupportedType" : "%{type}画像は PDF エクスポートに表示されません。",
|
|
8
|
+
"dismissWarning" : "警告を非表示にする",
|
|
9
|
+
"fileTooLarge" : "画像サイズは 10MB 以下でなければなりません。",
|
|
10
|
+
"imageLimit" : "画像数の上限である%{count}枚に達しました。新しいものを追加する前に、1 つ削除してください。",
|
|
11
|
+
"unreadable" : "このファイルは画像として読み込めませんでした。別の画像を選択して、もう一度お試しください。",
|
|
12
|
+
"failed" : "この画像をアップロードできませんでした。接続状況を確認して、もう一度お試しください。",
|
|
13
|
+
"invalidProstoreFileId" : "画像のアップロード中に問題が発生しました。もう一度お試しください。",
|
|
14
|
+
"invalidImageUrl" : "画像のアップロード中に問題が発生しました。もう一度お試しください。"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"textEditor" : {
|
|
3
|
+
"imageUpload" : {
|
|
4
|
+
"noFile" : "Vi finner ingen blider å laste opp. Velg en fil og prøv igjen.",
|
|
5
|
+
"aborted" : "Opplasting av bilder ble avbrutt før den ble fullført. Prøv å laste opp igjen.",
|
|
6
|
+
"unsupportedType" : "%{type}filer støttes ikke.",
|
|
7
|
+
"pdfUnsupportedType" : "%{type}bilder vises ikke i PDF-eksport.",
|
|
8
|
+
"dismissWarning" : "Avvis advarsel",
|
|
9
|
+
"fileTooLarge" : "Bilder må være 10 MB eller mindre.",
|
|
10
|
+
"imageLimit" : "Du har nådd grensen på %{count} bilder. Fjern ett før du legger til et annet.",
|
|
11
|
+
"unreadable" : "Denne filen kan ikke leses som et bilde. Velg et annet bilde og prøv igjen.",
|
|
12
|
+
"failed" : "Vi kan ikke laste opp dette bildet. Sjekk tilkoblingen din og prøv igjen.",
|
|
13
|
+
"invalidProstoreFileId" : "Noe gikk galt under opplastingen av dette bildet. Prøv igjen.",
|
|
14
|
+
"invalidImageUrl" : "Noe gikk galt under opplastingen av dette bildet. Prøv igjen."
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"textEditor" : {
|
|
3
|
+
"imageUpload" : {
|
|
4
|
+
"noFile" : "Nie udało się znaleźć obrazu do przesłania. Wybierz plik i spróbuj ponownie.",
|
|
5
|
+
"aborted" : "Przesyłanie obrazu zostało anulowane przed jego zakończeniem. Spróbuj przesłać ponownie.",
|
|
6
|
+
"unsupportedType" : "Pliki %{type} nie są obsługiwane.",
|
|
7
|
+
"pdfUnsupportedType" : "Obrazy %{type} nie będą wyświetlane w plikach eksportowanych do formatu PDF.",
|
|
8
|
+
"dismissWarning" : "Odrzuć ostrzeżenie",
|
|
9
|
+
"fileTooLarge" : "Rozmiar obrazów nie może przekraczać 10 MB.",
|
|
10
|
+
"imageLimit" : "Osiągnięto limit %{count} obrazów. Usuń jeden przed dodaniem kolejnego.",
|
|
11
|
+
"unreadable" : "Tego pliku nie można odczytać jako obrazu. Wybierz inny obraz i spróbuj ponownie.",
|
|
12
|
+
"failed" : "Nie udało się przesłać tego obrazu. Sprawdź połączenie i spróbuj ponownie.",
|
|
13
|
+
"invalidProstoreFileId" : "Wystąpił błąd podczas przesyłania tego obrazu. Spróbuj ponownie.",
|
|
14
|
+
"invalidImageUrl" : "Wystąpił błąd podczas przesyłania tego obrazu. Spróbuj ponownie."
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"textEditor": {
|
|
3
|
+
"imageUpload": {
|
|
4
|
+
"noFile": "[ŴŴḗ · ƈǿŭŀḓƞ'ŧ · ƒīƞḓ · ȧƞ · īḿȧɠḗ · ŧǿ · ŭƥŀǿȧḓ · Ƈħǿǿşḗ · ȧ · ƒīŀḗ · ȧƞḓ · ŧřẏ · ȧɠȧīƞƞƞƞ]",
|
|
5
|
+
"aborted": "[ĪĪḿȧɠḗ · ŭƥŀǿȧḓ · ẇȧş · ƈȧƞƈḗŀḗḓ · ƀḗƒǿřḗ · īŧ · ƒīƞīşħḗḓ · Ŧřẏ · ŭƥŀǿȧḓīƞɠ · īŧ · ȧɠȧīƞƞƞƞ]",
|
|
6
|
+
"unsupportedType": "[%{type}ƒīŀḗş · ȧřḗƞ'ŧ · şŭƥƥǿřŧḗḓḓḓ]",
|
|
7
|
+
"pdfUnsupportedType": "[%{type}īḿȧɠḗş · ẇǿƞ'ŧ · ȧƥƥḗȧř · īƞ · ƤḒƑ · ḗẋƥǿřŧşşşş]",
|
|
8
|
+
"dismissWarning": "[ḒḒīşḿīşş · ẇȧřƞīƞɠɠɠɠ]",
|
|
9
|
+
"fileTooLarge": "[ŦŦħīş · īḿȧɠḗ · īş · ŧǿǿ · ŀȧřɠḗ · Ƈħǿǿşḗ · ȧƞ · īḿȧɠḗ · ŧħȧŧ'ş · 10 · ḾƁ · ǿř · şḿȧŀŀḗřřřř]",
|
|
10
|
+
"imageLimit": "[ẎẎǿŭ'ṽḗ · řḗȧƈħḗḓ · ŧħḗ · ŀīḿīŧ · ǿƒ · %{count} · īḿȧɠḗş · Řḗḿǿṽḗ · ǿƞḗ · ƀḗƒǿřḗ · ȧḓḓīƞɠ · ȧƞǿŧħḗřřřř]",
|
|
11
|
+
"unreadable": "[ŦŦħīş · ƒīŀḗ · ƈǿŭŀḓƞ'ŧ · ƀḗ · řḗȧḓ · ȧş · ȧƞ · īḿȧɠḗ · Ƈħǿǿşḗ · ȧ · ḓīƒƒḗřḗƞŧ · īḿȧɠḗ · ȧƞḓ · ŧřẏ · ȧɠȧīƞƞƞƞ]",
|
|
12
|
+
"failed": "[ŴŴḗ · ƈǿŭŀḓƞ'ŧ · ŭƥŀǿȧḓ · ŧħīş · īḿȧɠḗ · Ƈħḗƈķ · ẏǿŭř · ƈǿƞƞḗƈŧīǿƞ · ȧƞḓ · ŧřẏ · ȧɠȧīƞƞƞƞ]",
|
|
13
|
+
"invalidProstoreFileId": "[ŴŴḗ · ƈǿŭŀḓƞ'ŧ · ƒīƞīşħ · ŭƥŀǿȧḓīƞɠ · ŧħīş · īḿȧɠḗ · Ŧřẏ · ȧɠȧīƞ · ǿř · ƈǿƞŧȧƈŧ · şŭƥƥǿřŧ · īƒ · īŧ · ķḗḗƥş · ħȧƥƥḗƞīƞɠɠɠɠ]",
|
|
14
|
+
"invalidImageUrl": "[ŴŴḗ · ƈǿŭŀḓƞ'ŧ · ƒīƞīşħ · ŭƥŀǿȧḓīƞɠ · ŧħīş · īḿȧɠḗ · Ŧřẏ · ȧɠȧīƞ · ǿř · ƈǿƞŧȧƈŧ · şŭƥƥǿřŧ · īƒ · īŧ · ķḗḗƥş · ħȧƥƥḗƞīƞɠɠɠɠ]"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"textEditor" : {
|
|
3
|
+
"imageUpload" : {
|
|
4
|
+
"noFile" : "Não foi possível encontrar uma imagem para upload. Selecione um arquivo e tente novamente.",
|
|
5
|
+
"aborted" : "O upload da imagem foi cancelado antes de ser concluído. Tente fazer o upload novamente.",
|
|
6
|
+
"unsupportedType" : "Arquivos %{type}não são compatíveis.",
|
|
7
|
+
"pdfUnsupportedType" : "As imagens %{type}não aparecerão nas exportações em PDF.",
|
|
8
|
+
"dismissWarning" : "Ignorar aviso",
|
|
9
|
+
"fileTooLarge" : "As imagens devem ter no máximo 10 MB.",
|
|
10
|
+
"imageLimit" : "Você atingiu o limite de %{count} imagens. Remova uma antes de adicionar outra.",
|
|
11
|
+
"unreadable" : "Este arquivo não pôde ser lido como uma imagem. Escolha uma imagem diferente e tente novamente.",
|
|
12
|
+
"failed" : "Não foi possível fazer upload desta imagem. Verifique a conexão e tente novamente.",
|
|
13
|
+
"invalidProstoreFileId" : "Ocorreu um erro ao fazer upload desta imagem. Tente novamente.",
|
|
14
|
+
"invalidImageUrl" : "Ocorreu um erro ao fazer upload desta imagem. Tente novamente."
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"textEditor" : {
|
|
3
|
+
"imageUpload" : {
|
|
4
|
+
"noFile" : "Não foi possível encontrar uma imagem para carregar. Selecione um ficheiro e tente novamente.",
|
|
5
|
+
"aborted" : "O carregamento da imagem foi cancelado antes de estar concluído. Tente carregar novamente.",
|
|
6
|
+
"unsupportedType" : "Os ficheiros%{type} não são suportados.",
|
|
7
|
+
"pdfUnsupportedType" : "As imagens%{type} não aparecerão nas exportações em PDF.",
|
|
8
|
+
"dismissWarning" : "Ignorar aviso",
|
|
9
|
+
"fileTooLarge" : "As imagens devem ter no máximo 10 MB.",
|
|
10
|
+
"imageLimit" : "Atingiu o limite de %{count} imagens. Remova uma antes de adicionar outra.",
|
|
11
|
+
"unreadable" : "Não foi possível ler este ficheiro como uma imagem. Escolha uma imagem diferente e tente novamente.",
|
|
12
|
+
"failed" : "Não foi possível carregar esta imagem. Verifique a sua ligação e tente novamente.",
|
|
13
|
+
"invalidProstoreFileId" : "Ocorreu um erro ao carregar esta imagem. Por favor, tente novamente.",
|
|
14
|
+
"invalidImageUrl" : "Ocorreu um erro ao carregar esta imagem. Por favor, tente novamente."
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"textEditor" : {
|
|
3
|
+
"imageUpload" : {
|
|
4
|
+
"noFile" : "เราไม่พบรูปภาพที่จะอัปโหลด เลือกไฟล์แล้วลองใหม่อีกครั้ง",
|
|
5
|
+
"aborted" : "การอัปโหลดรูปภาพถูกยกเลิกก่อนที่จะเสร็จสมบูรณ์ ลองอัปโหลดอีกครั้ง",
|
|
6
|
+
"unsupportedType" : "ไฟล์ %{type}ไม่ได้รับการสนับสนุน",
|
|
7
|
+
"pdfUnsupportedType" : "รูปภาพ %{type}รูปจะไม่ปรากฏในไฟล์ PDF ที่ส่งออก",
|
|
8
|
+
"dismissWarning" : "ยกเลิกคำเตือน",
|
|
9
|
+
"fileTooLarge" : "รูปภาพต้องมีขนาดไม่เกิน 10 MB",
|
|
10
|
+
"imageLimit" : "คุณใช้จำนวนภาพครบ %{count} ภาพแล้ว นำอันหนึ่งออกก่อนจึงจะสามารถเพิ่มอันใหม่ได้",
|
|
11
|
+
"unreadable" : "ไฟล์นี้ไม่สามารถอ่านเป็นรูปภาพได้ เลือกภาพอื่นแล้วลองใหม่อีกครั้ง",
|
|
12
|
+
"failed" : "เราไม่สามารถอัปโหลดรูปภาพนี้ได้ ตรวจสอบการเชื่อมต่อของคุณแล้วลองใหม่อีกครั้ง",
|
|
13
|
+
"invalidProstoreFileId" : "เกิดข้อผิดพลาดบางอย่างขณะอัปโหลดรูปภาพนี้ โปรดลองอีกครั้ง",
|
|
14
|
+
"invalidImageUrl" : "เกิดข้อผิดพลาดบางอย่างขณะอัปโหลดรูปภาพนี้ โปรดลองอีกครั้ง"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"textEditor" : {
|
|
3
|
+
"imageUpload" : {
|
|
4
|
+
"noFile" : "我们找不到可以上传的图片。请选择一个文件,然后重试。",
|
|
5
|
+
"aborted" : "图片上传操作在完成前被取消。请尝试重新上传。",
|
|
6
|
+
"unsupportedType" : "不支持 %{type} 文件。",
|
|
7
|
+
"pdfUnsupportedType" : "%{type} 图片不会显示在 PDF 导出文件中。",
|
|
8
|
+
"dismissWarning" : "关闭警告",
|
|
9
|
+
"fileTooLarge" : "图片大小不得超过 10 MB。",
|
|
10
|
+
"imageLimit" : "你已达到 %{count} 张图片的上限。请先移除一张图片,再添加新图片。",
|
|
11
|
+
"unreadable" : "此文件无法作为图像读取。请选择其他图片,然后重试。",
|
|
12
|
+
"failed" : "无法上传此图片。请检查连接,然后重试。",
|
|
13
|
+
"invalidProstoreFileId" : "上传此图片时出错。请重试。",
|
|
14
|
+
"invalidImageUrl" : "上传此图片时出错。请重试。"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"textEditor" : {
|
|
3
|
+
"imageUpload" : {
|
|
4
|
+
"noFile" : "找不到可上傳的影像。請選擇檔案並再試一次。",
|
|
5
|
+
"aborted" : "影像上傳在完成前已取消。請嘗試重新上傳。",
|
|
6
|
+
"unsupportedType" : "不支援 %{type} 檔案。",
|
|
7
|
+
"pdfUnsupportedType" : "%{type} 影像不會在 PDF 匯出中顯示。",
|
|
8
|
+
"dismissWarning" : "關閉警告",
|
|
9
|
+
"fileTooLarge" : "影像必須為 10 MB 或更小。",
|
|
10
|
+
"imageLimit" : "您已達到 %{count} 張影像的上限。請先移除一張,再新增另一張。",
|
|
11
|
+
"unreadable" : "無法將此檔案讀取為影像。請選擇其他影像後再試一次。",
|
|
12
|
+
"failed" : "無法上傳此影像。請檢查您的網路連線並再試一次。",
|
|
13
|
+
"invalidProstoreFileId" : "上傳此影像時發生問題。請再試一次。",
|
|
14
|
+
"invalidImageUrl" : "上傳此影像時發生問題。請再試一次。"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@procore/text-editor",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Rich text editor component based on CKEditor 5",
|
|
5
5
|
"author": "Procore Technologies",
|
|
6
6
|
"homepage": "https://github.com/procore/core/tree/main/packages/text-editor",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"test:watch": "yarn run test --watch"
|
|
70
70
|
},
|
|
71
71
|
"peerDependencies": {
|
|
72
|
-
"@procore/core-react": "^12.
|
|
72
|
+
"@procore/core-react": "^12.53.0",
|
|
73
73
|
"@procore/globalization-toolkit": ">= 3 < 4",
|
|
74
74
|
"ckeditor5": ">= 47 < 49",
|
|
75
75
|
"ckeditor5-premium-features": ">= 47 < 49",
|
|
@@ -79,8 +79,13 @@
|
|
|
79
79
|
},
|
|
80
80
|
"dependencies": {
|
|
81
81
|
"@ckeditor/ckeditor5-react": "^11.1.2",
|
|
82
|
+
"@procore/cdn-translations": "^1.0.0",
|
|
83
|
+
"@procore/core-http": "^13.1.0",
|
|
82
84
|
"@procore/core-i18n-js": "^10.30.0",
|
|
83
85
|
"@procore/core-icons": "^12.18.0",
|
|
86
|
+
"@procore/toast-alert": "^5.2.0",
|
|
87
|
+
"@procore/web-sdk-env-utils": "^0.1.0",
|
|
88
|
+
"@procore/web-sdk-feature-toggle": "^2.7.0",
|
|
84
89
|
"@react-aria/focus": "3.16.2",
|
|
85
90
|
"@react-aria/utils": "3.23.2",
|
|
86
91
|
"sanitize-html": "^2.17.0"
|
|
@@ -94,7 +99,7 @@
|
|
|
94
99
|
"@babel/preset-react": "7.18.6",
|
|
95
100
|
"@babel/preset-typescript": "7.18.6",
|
|
96
101
|
"@babel/register": "7.18.9",
|
|
97
|
-
"@procore/core-react": "^12.
|
|
102
|
+
"@procore/core-react": "^12.53.0",
|
|
98
103
|
"@procore/globalization-toolkit": "3.0.0",
|
|
99
104
|
"@storybook/addon-webpack5-compiler-swc": "^4.0.2",
|
|
100
105
|
"@storybook/jest": "^0.2.3",
|