@instructure/canvas-rce 5.15.7 → 7.0.0

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.
Files changed (93) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/Dockerfile +1 -1
  3. package/es/bridge/Bridge.d.ts +6 -0
  4. package/es/common/browser.js +2 -2
  5. package/es/common/fileUrl.js +13 -3
  6. package/es/defaultTinymceConfig.js +165 -4
  7. package/es/enhance-user-content/enhance_user_content.js +1 -1
  8. package/es/enhance-user-content/instructure_helper.js +7 -3
  9. package/es/rce/RCEGlobals.d.ts +0 -2
  10. package/es/rce/RCEGlobals.js +0 -1
  11. package/es/rce/RCEVariants.d.ts +1 -1
  12. package/es/rce/RCEVariants.js +8 -8
  13. package/es/rce/RCEWrapper.d.ts +0 -2
  14. package/es/rce/RCEWrapper.js +6 -27
  15. package/es/rce/contentRendering.js +3 -2
  16. package/es/rce/plugins/instructure_equation/EquationEditorModal/index.d.ts +1 -1
  17. package/es/rce/plugins/instructure_image/ImageEmbedOptions.js +4 -7
  18. package/es/rce/plugins/instructure_image/ImageOptionsTray/index.js +33 -9
  19. package/es/rce/plugins/instructure_rce_external_tools/RceToolWrapper.d.ts +1 -1
  20. package/es/rce/plugins/instructure_record/AudioOptionsTray/TrayController.js +1 -2
  21. package/es/rce/plugins/instructure_record/VideoOptionsTray/TrayController.d.ts +13 -3
  22. package/es/rce/plugins/instructure_record/VideoOptionsTray/TrayController.js +12 -4
  23. package/es/rce/plugins/instructure_record/mediaTranslations.d.ts +3 -0
  24. package/es/rce/plugins/instructure_record/mediaTranslations.js +4 -1
  25. package/es/rce/plugins/shared/ContentSelection.js +4 -7
  26. package/es/rce/plugins/shared/DimensionsInput/DimensionInput.d.ts +4 -2
  27. package/es/rce/plugins/shared/DimensionsInput/DimensionInput.js +10 -3
  28. package/es/rce/plugins/shared/DimensionsInput/index.d.ts +2 -0
  29. package/es/rce/plugins/shared/DimensionsInput/index.js +9 -5
  30. package/es/rce/plugins/shared/ImageOptionsForm.d.ts +4 -1
  31. package/es/rce/plugins/shared/ImageOptionsForm.js +13 -3
  32. package/es/rce/plugins/shared/Upload/UrlPanel.d.ts +9 -3
  33. package/es/rce/plugins/shared/Upload/UrlPanel.js +13 -4
  34. package/es/rce/plugins/shared/do-fetch-api-effect/parse-link-header.js +1 -1
  35. package/es/rce/plugins/shared/fileTypeUtils.js +1 -1
  36. package/es/rce/plugins/tinymce-a11y-checker/node-checker.js +3 -2
  37. package/es/rce/plugins/tinymce-a11y-checker/plugin.js +50 -52
  38. package/es/rce/plugins/tinymce-a11y-checker/utils/dom.d.ts +6 -0
  39. package/es/rce/plugins/tinymce-a11y-checker/utils/dom.js +15 -0
  40. package/es/rce/plugins/tinymce-a11y-checker/utils/rule-enhancer.d.ts +14 -0
  41. package/es/rce/plugins/tinymce-a11y-checker/utils/rule-enhancer.js +53 -0
  42. package/es/rce/screenreaderOnFormat.d.ts +2 -0
  43. package/es/rce/screenreaderOnFormat.js +109 -0
  44. package/es/rce/style.js +29 -29
  45. package/es/rcs/api.d.ts +4 -1
  46. package/es/rcs/api.js +9 -13
  47. package/es/translations/locales/ar.js +42 -0
  48. package/es/translations/locales/ca.js +42 -0
  49. package/es/translations/locales/cy.js +42 -0
  50. package/es/translations/locales/da-x-k12.js +42 -0
  51. package/es/translations/locales/da.js +42 -0
  52. package/es/translations/locales/de.js +42 -0
  53. package/es/translations/locales/en-AU-x-unimelb.js +42 -0
  54. package/es/translations/locales/en-GB-x-ukhe.js +42 -0
  55. package/es/translations/locales/en.js +54 -0
  56. package/es/translations/locales/en_AU.js +42 -0
  57. package/es/translations/locales/en_CA.js +42 -0
  58. package/es/translations/locales/en_CY.js +42 -0
  59. package/es/translations/locales/en_GB.js +42 -0
  60. package/es/translations/locales/es.js +42 -0
  61. package/es/translations/locales/es_ES.js +42 -0
  62. package/es/translations/locales/fi.js +42 -0
  63. package/es/translations/locales/fr.js +42 -0
  64. package/es/translations/locales/fr_CA.js +42 -0
  65. package/es/translations/locales/ga.js +114 -0
  66. package/es/translations/locales/hi.js +42 -0
  67. package/es/translations/locales/ht.js +42 -0
  68. package/es/translations/locales/id.js +42 -0
  69. package/es/translations/locales/is.js +42 -0
  70. package/es/translations/locales/it.js +42 -0
  71. package/es/translations/locales/ja.js +42 -0
  72. package/es/translations/locales/mi.js +42 -0
  73. package/es/translations/locales/ms.js +42 -0
  74. package/es/translations/locales/nb-x-k12.js +42 -0
  75. package/es/translations/locales/nb.js +42 -0
  76. package/es/translations/locales/nl.js +42 -0
  77. package/es/translations/locales/pl.js +42 -0
  78. package/es/translations/locales/pt.js +42 -0
  79. package/es/translations/locales/pt_BR.js +42 -0
  80. package/es/translations/locales/ru.js +42 -0
  81. package/es/translations/locales/sl.js +42 -0
  82. package/es/translations/locales/sv-x-k12.js +42 -0
  83. package/es/translations/locales/sv.js +42 -0
  84. package/es/translations/locales/th.js +42 -0
  85. package/es/translations/locales/vi.js +42 -0
  86. package/es/translations/locales/zh-Hans.js +42 -0
  87. package/es/translations/locales/zh-Hant.js +42 -0
  88. package/es/translations/locales/zh.js +42 -0
  89. package/es/translations/locales/zh_HK.js +42 -0
  90. package/es/util/loadingPlaceholder.js +4 -3
  91. package/package.json +55 -54
  92. package/coverage/canvas-rce-jest.xml +0 -7028
  93. package/tsconfig.tsbuildinfo +0 -1
@@ -52,6 +52,12 @@ const locale = {
52
52
  "additional_considerations_f3801683": {
53
53
  "message": "Ytterliggare hänsynstaganden"
54
54
  },
55
+ "address_applied_64269b0b": {
56
+ "message": "Adress tillämpad"
57
+ },
58
+ "address_removed_fcb496e0": {
59
+ "message": "Adress borttagen"
60
+ },
55
61
  "adjacent_links_with_the_same_url_should_be_a_singl_7a1f7f6c": {
56
62
  "message": "Intilliggande länkar med samma webbadress ska vara en enda länk."
57
63
  },
@@ -208,6 +214,12 @@ const locale = {
208
214
  "blue_daf8fea9": {
209
215
  "message": "Blå"
210
216
  },
217
+ "bold_applied_42d547b7": {
218
+ "message": "Fet stil tillämpad"
219
+ },
220
+ "bold_removed_da474a5c": {
221
+ "message": "Fet stil borttagen"
222
+ },
211
223
  "border_5b08b06d": {
212
224
  "message": "Gräns"
213
225
  },
@@ -574,6 +586,12 @@ const locale = {
574
586
  "display_text_link_opens_in_a_new_tab_75e9afc9": {
575
587
  "message": "Visa textlänk (öppnas i en ny flik)"
576
588
  },
589
+ "div_applied_49ad83fc": {
590
+ "message": "Diverse tillämpade"
591
+ },
592
+ "div_removed_d13f8e17": {
593
+ "message": "Diverse borttagna"
594
+ },
577
595
  "division_sign_72190870": {
578
596
  "message": "Divisionstecken"
579
597
  },
@@ -931,6 +949,12 @@ const locale = {
931
949
  "heading_4_b2e74be7": {
932
950
  "message": "Rubrik 4"
933
951
  },
952
+ "heading_h_applied_eccd294d": {
953
+ "message": "{ h } tillämpades i rubriken"
954
+ },
955
+ "heading_h_removed_745f24a6": {
956
+ "message": "{ h } togs bort från rubriken"
957
+ },
934
958
  "heading_levels_should_not_be_skipped_3947c0e0": {
935
959
  "message": "Rubriknivåer bör inte hoppas över."
936
960
  },
@@ -1117,6 +1141,12 @@ const locale = {
1117
1141
  "issue_num_total_f94536cf": {
1118
1142
  "message": "Problem { num }/{ total }"
1119
1143
  },
1144
+ "italic_applied_8f59a684": {
1145
+ "message": "Kursiv stil tillämpad"
1146
+ },
1147
+ "italic_removed_17cbab6f": {
1148
+ "message": "Kursiv stil borttagen"
1149
+ },
1120
1150
  "kappa_2f14c816": {
1121
1151
  "message": "Kappa"
1122
1152
  },
@@ -1576,6 +1606,12 @@ const locale = {
1576
1606
  "paragraph_5e5ad8eb": {
1577
1607
  "message": "Paragraf"
1578
1608
  },
1609
+ "paragraph_applied_959b3fe5": {
1610
+ "message": "Stycke tillämpat"
1611
+ },
1612
+ "paragraph_removed_d09320e": {
1613
+ "message": "Stycke borttaget"
1614
+ },
1579
1615
  "paragraph_starting_with_start_a59923f8": {
1580
1616
  "message": "Stycke som börjar med { start }"
1581
1617
  },
@@ -2308,6 +2344,12 @@ const locale = {
2308
2344
  "unable_to_determine_resource_selection_url_7867e060": {
2309
2345
  "message": "Det gick inte att bestämma URL för resursurval"
2310
2346
  },
2347
+ "underline_applied_ae01ec97": {
2348
+ "message": "Understrykning tillämpad"
2349
+ },
2350
+ "underline_removed_3693e17c": {
2351
+ "message": "Understrykning borttagen"
2352
+ },
2311
2353
  "union_e6b57a53": {
2312
2354
  "message": "Union"
2313
2355
  },
@@ -52,6 +52,12 @@ const locale = {
52
52
  "additional_considerations_f3801683": {
53
53
  "message": "ข้อพิจารณาเพิ่มเติม"
54
54
  },
55
+ "address_applied_64269b0b": {
56
+ "message": "ปรับใช้ที่อยู่แล้ว"
57
+ },
58
+ "address_removed_fcb496e0": {
59
+ "message": "ลบที่อยู่แล้ว"
60
+ },
55
61
  "adjacent_links_with_the_same_url_should_be_a_singl_7a1f7f6c": {
56
62
  "message": "ลิงค์ที่ติดกันกับ URL เหมือน ๆ กันควรเป็นลิงค์แยกเดี่ยว"
57
63
  },
@@ -208,6 +214,12 @@ const locale = {
208
214
  "blue_daf8fea9": {
209
215
  "message": "น้ำเงิน"
210
216
  },
217
+ "bold_applied_42d547b7": {
218
+ "message": "ปรับใช้ตัวหนาแล้ว"
219
+ },
220
+ "bold_removed_da474a5c": {
221
+ "message": "ลบตัวหนาแล้ว"
222
+ },
211
223
  "border_5b08b06d": {
212
224
  "message": "ขอบ"
213
225
  },
@@ -574,6 +586,12 @@ const locale = {
574
586
  "display_text_link_opens_in_a_new_tab_75e9afc9": {
575
587
  "message": "แสดงลิงค์ข้อความ (เปิดในแท็บใหม่)"
576
588
  },
589
+ "div_applied_49ad83fc": {
590
+ "message": "ปรับใช้ Div แล้ว"
591
+ },
592
+ "div_removed_d13f8e17": {
593
+ "message": "ลบ Div แล้ว"
594
+ },
577
595
  "division_sign_72190870": {
578
596
  "message": "สัญลักษณ์หาร"
579
597
  },
@@ -931,6 +949,12 @@ const locale = {
931
949
  "heading_4_b2e74be7": {
932
950
  "message": "หัวเรื่อง 4"
933
951
  },
952
+ "heading_h_applied_eccd294d": {
953
+ "message": "ปรับใช้หัวเรื่อง { h } แล้ว"
954
+ },
955
+ "heading_h_removed_745f24a6": {
956
+ "message": "ลบหัวเรื่อง { h } แล้ว"
957
+ },
934
958
  "heading_levels_should_not_be_skipped_3947c0e0": {
935
959
  "message": "ไม่ควรข้ามระดับหัวเรื่อง"
936
960
  },
@@ -1117,6 +1141,12 @@ const locale = {
1117
1141
  "issue_num_total_f94536cf": {
1118
1142
  "message": "ประเด็น { num }/{ total }"
1119
1143
  },
1144
+ "italic_applied_8f59a684": {
1145
+ "message": "ปรับใช้ตัวเอียงแล้ว"
1146
+ },
1147
+ "italic_removed_17cbab6f": {
1148
+ "message": "ลบตัวเอียงแล้ว"
1149
+ },
1120
1150
  "kappa_2f14c816": {
1121
1151
  "message": "Kappa"
1122
1152
  },
@@ -1576,6 +1606,12 @@ const locale = {
1576
1606
  "paragraph_5e5ad8eb": {
1577
1607
  "message": "ย่อหน้า"
1578
1608
  },
1609
+ "paragraph_applied_959b3fe5": {
1610
+ "message": "ปรับใช้ย่อหน้าแล้ว"
1611
+ },
1612
+ "paragraph_removed_d09320e": {
1613
+ "message": "ลบย่อหน้าแล้ว"
1614
+ },
1579
1615
  "paragraph_starting_with_start_a59923f8": {
1580
1616
  "message": "ย่อหน้าที่เริ่มต้นด้วย { start }"
1581
1617
  },
@@ -2308,6 +2344,12 @@ const locale = {
2308
2344
  "unable_to_determine_resource_selection_url_7867e060": {
2309
2345
  "message": "ไม่สามารถพิจารณา url การเลือกทรัพยากรข้อมูล"
2310
2346
  },
2347
+ "underline_applied_ae01ec97": {
2348
+ "message": "ปรับใช้เส้นใต้แล้ว"
2349
+ },
2350
+ "underline_removed_3693e17c": {
2351
+ "message": "ลบเส้นใต้แล้ว"
2352
+ },
2311
2353
  "union_e6b57a53": {
2312
2354
  "message": "ยูเนียน"
2313
2355
  },
@@ -52,6 +52,12 @@ const locale = {
52
52
  "additional_considerations_f3801683": {
53
53
  "message": "Cân nhắc bổ sung"
54
54
  },
55
+ "address_applied_64269b0b": {
56
+ "message": "Đã áp dụng địa chỉ"
57
+ },
58
+ "address_removed_fcb496e0": {
59
+ "message": "Đã gỡ địa chỉ"
60
+ },
55
61
  "adjacent_links_with_the_same_url_should_be_a_singl_7a1f7f6c": {
56
62
  "message": "Liên kết liền kề có cùng URL phải là liên kết đơn."
57
63
  },
@@ -208,6 +214,12 @@ const locale = {
208
214
  "blue_daf8fea9": {
209
215
  "message": "Xanh Dương"
210
216
  },
217
+ "bold_applied_42d547b7": {
218
+ "message": "Đã áp dụng in đậm"
219
+ },
220
+ "bold_removed_da474a5c": {
221
+ "message": "Đã gỡ in đậm"
222
+ },
211
223
  "border_5b08b06d": {
212
224
  "message": "Viền"
213
225
  },
@@ -574,6 +586,12 @@ const locale = {
574
586
  "display_text_link_opens_in_a_new_tab_75e9afc9": {
575
587
  "message": "Hiển Thị Liên Kết Văn Bản (mở trong tác vụ mới)"
576
588
  },
589
+ "div_applied_49ad83fc": {
590
+ "message": "Đã áp dụng div"
591
+ },
592
+ "div_removed_d13f8e17": {
593
+ "message": "Đã gỡ div"
594
+ },
577
595
  "division_sign_72190870": {
578
596
  "message": "Dấu Chia"
579
597
  },
@@ -931,6 +949,12 @@ const locale = {
931
949
  "heading_4_b2e74be7": {
932
950
  "message": "Đầu Đề 4"
933
951
  },
952
+ "heading_h_applied_eccd294d": {
953
+ "message": "Đã áp dụng tiêu đề { h }"
954
+ },
955
+ "heading_h_removed_745f24a6": {
956
+ "message": "Đã gỡ tiêu đề { h }"
957
+ },
934
958
  "heading_levels_should_not_be_skipped_3947c0e0": {
935
959
  "message": "Không được bỏ qua cấp đầu đề."
936
960
  },
@@ -1117,6 +1141,12 @@ const locale = {
1117
1141
  "issue_num_total_f94536cf": {
1118
1142
  "message": "Vấn đề { num }/{ total }"
1119
1143
  },
1144
+ "italic_applied_8f59a684": {
1145
+ "message": "Đã áp dụng in nghiêng"
1146
+ },
1147
+ "italic_removed_17cbab6f": {
1148
+ "message": "Đã gỡ in nghiêng"
1149
+ },
1120
1150
  "kappa_2f14c816": {
1121
1151
  "message": "Kappa"
1122
1152
  },
@@ -1576,6 +1606,12 @@ const locale = {
1576
1606
  "paragraph_5e5ad8eb": {
1577
1607
  "message": "Đoạn"
1578
1608
  },
1609
+ "paragraph_applied_959b3fe5": {
1610
+ "message": "Đã áp dụng đoạn văn"
1611
+ },
1612
+ "paragraph_removed_d09320e": {
1613
+ "message": "Đã gỡ đoạn văn"
1614
+ },
1579
1615
  "paragraph_starting_with_start_a59923f8": {
1580
1616
  "message": "Đoạn bắt đầu bằng { start }"
1581
1617
  },
@@ -2308,6 +2344,12 @@ const locale = {
2308
2344
  "unable_to_determine_resource_selection_url_7867e060": {
2309
2345
  "message": "Không thể xác định url lựa chọn tài nguyên"
2310
2346
  },
2347
+ "underline_applied_ae01ec97": {
2348
+ "message": "Đã áp dụng gạch chân"
2349
+ },
2350
+ "underline_removed_3693e17c": {
2351
+ "message": "Đã gỡ gạch chân"
2352
+ },
2311
2353
  "union_e6b57a53": {
2312
2354
  "message": "Liên Hợp"
2313
2355
  },
@@ -52,6 +52,12 @@ const locale = {
52
52
  "additional_considerations_f3801683": {
53
53
  "message": "其他考虑事项"
54
54
  },
55
+ "address_applied_64269b0b": {
56
+ "message": "已应用地址"
57
+ },
58
+ "address_removed_fcb496e0": {
59
+ "message": "已移除地址"
60
+ },
55
61
  "adjacent_links_with_the_same_url_should_be_a_singl_7a1f7f6c": {
56
62
  "message": "具有相同 URL 的相邻链接应该为一个单链接。"
57
63
  },
@@ -208,6 +214,12 @@ const locale = {
208
214
  "blue_daf8fea9": {
209
215
  "message": "蓝色"
210
216
  },
217
+ "bold_applied_42d547b7": {
218
+ "message": "已应用粗体"
219
+ },
220
+ "bold_removed_da474a5c": {
221
+ "message": "已移除粗体"
222
+ },
211
223
  "border_5b08b06d": {
212
224
  "message": "边框"
213
225
  },
@@ -574,6 +586,12 @@ const locale = {
574
586
  "display_text_link_opens_in_a_new_tab_75e9afc9": {
575
587
  "message": "显示文本链接(在新标签页中打开)"
576
588
  },
589
+ "div_applied_49ad83fc": {
590
+ "message": "已应用分区"
591
+ },
592
+ "div_removed_d13f8e17": {
593
+ "message": "已移除分区"
594
+ },
577
595
  "division_sign_72190870": {
578
596
  "message": "除号"
579
597
  },
@@ -931,6 +949,12 @@ const locale = {
931
949
  "heading_4_b2e74be7": {
932
950
  "message": "标题 4"
933
951
  },
952
+ "heading_h_applied_eccd294d": {
953
+ "message": "已应用标题 { h }"
954
+ },
955
+ "heading_h_removed_745f24a6": {
956
+ "message": "已移除标题 { h }"
957
+ },
934
958
  "heading_levels_should_not_be_skipped_3947c0e0": {
935
959
  "message": "不得跳过标题级别。"
936
960
  },
@@ -1117,6 +1141,12 @@ const locale = {
1117
1141
  "issue_num_total_f94536cf": {
1118
1142
  "message": "问题{ num }/{ total }"
1119
1143
  },
1144
+ "italic_applied_8f59a684": {
1145
+ "message": "已应用斜体"
1146
+ },
1147
+ "italic_removed_17cbab6f": {
1148
+ "message": "已移除斜体"
1149
+ },
1120
1150
  "kappa_2f14c816": {
1121
1151
  "message": "Kappa"
1122
1152
  },
@@ -1576,6 +1606,12 @@ const locale = {
1576
1606
  "paragraph_5e5ad8eb": {
1577
1607
  "message": "段落"
1578
1608
  },
1609
+ "paragraph_applied_959b3fe5": {
1610
+ "message": "已应用段落"
1611
+ },
1612
+ "paragraph_removed_d09320e": {
1613
+ "message": "已移除段落"
1614
+ },
1579
1615
  "paragraph_starting_with_start_a59923f8": {
1580
1616
  "message": "以{ start }开始的段落"
1581
1617
  },
@@ -2308,6 +2344,12 @@ const locale = {
2308
2344
  "unable_to_determine_resource_selection_url_7867e060": {
2309
2345
  "message": "无法确定资源选择 url"
2310
2346
  },
2347
+ "underline_applied_ae01ec97": {
2348
+ "message": "已应用下划线"
2349
+ },
2350
+ "underline_removed_3693e17c": {
2351
+ "message": "已移除下划线"
2352
+ },
2311
2353
  "union_e6b57a53": {
2312
2354
  "message": "并集"
2313
2355
  },
@@ -52,6 +52,12 @@ const locale = {
52
52
  "additional_considerations_f3801683": {
53
53
  "message": "其他考慮因素"
54
54
  },
55
+ "address_applied_64269b0b": {
56
+ "message": "已套用位址"
57
+ },
58
+ "address_removed_fcb496e0": {
59
+ "message": "已移除位址"
60
+ },
55
61
  "adjacent_links_with_the_same_url_should_be_a_singl_7a1f7f6c": {
56
62
  "message": "URL 相同的相鄰連結應為單一連結。"
57
63
  },
@@ -208,6 +214,12 @@ const locale = {
208
214
  "blue_daf8fea9": {
209
215
  "message": "藍色"
210
216
  },
217
+ "bold_applied_42d547b7": {
218
+ "message": "已套用粗體"
219
+ },
220
+ "bold_removed_da474a5c": {
221
+ "message": "已移除粗體"
222
+ },
211
223
  "border_5b08b06d": {
212
224
  "message": "邊框"
213
225
  },
@@ -574,6 +586,12 @@ const locale = {
574
586
  "display_text_link_opens_in_a_new_tab_75e9afc9": {
575
587
  "message": "顯示文字連結(在新標籤中開啟)"
576
588
  },
589
+ "div_applied_49ad83fc": {
590
+ "message": "已套用 Div"
591
+ },
592
+ "div_removed_d13f8e17": {
593
+ "message": "已移除 Div"
594
+ },
577
595
  "division_sign_72190870": {
578
596
  "message": "除號"
579
597
  },
@@ -931,6 +949,12 @@ const locale = {
931
949
  "heading_4_b2e74be7": {
932
950
  "message": "標題 4"
933
951
  },
952
+ "heading_h_applied_eccd294d": {
953
+ "message": "已套用標題 { h }"
954
+ },
955
+ "heading_h_removed_745f24a6": {
956
+ "message": "已移除標題 { h }"
957
+ },
934
958
  "heading_levels_should_not_be_skipped_3947c0e0": {
935
959
  "message": "不應跳過標題層。"
936
960
  },
@@ -1117,6 +1141,12 @@ const locale = {
1117
1141
  "issue_num_total_f94536cf": {
1118
1142
  "message": "問題 { num }/{ total }"
1119
1143
  },
1144
+ "italic_applied_8f59a684": {
1145
+ "message": "已套用斜體"
1146
+ },
1147
+ "italic_removed_17cbab6f": {
1148
+ "message": "已移除斜體 "
1149
+ },
1120
1150
  "kappa_2f14c816": {
1121
1151
  "message": "κ"
1122
1152
  },
@@ -1576,6 +1606,12 @@ const locale = {
1576
1606
  "paragraph_5e5ad8eb": {
1577
1607
  "message": "段落"
1578
1608
  },
1609
+ "paragraph_applied_959b3fe5": {
1610
+ "message": "已套用段落"
1611
+ },
1612
+ "paragraph_removed_d09320e": {
1613
+ "message": "已移除段落"
1614
+ },
1579
1615
  "paragraph_starting_with_start_a59923f8": {
1580
1616
  "message": "以 { start } 開始的段落"
1581
1617
  },
@@ -2308,6 +2344,12 @@ const locale = {
2308
2344
  "unable_to_determine_resource_selection_url_7867e060": {
2309
2345
  "message": "無法決定資源選擇網址"
2310
2346
  },
2347
+ "underline_applied_ae01ec97": {
2348
+ "message": "已套用底線"
2349
+ },
2350
+ "underline_removed_3693e17c": {
2351
+ "message": "已移除底線"
2352
+ },
2311
2353
  "union_e6b57a53": {
2312
2354
  "message": "聯集"
2313
2355
  },
@@ -52,6 +52,12 @@ const locale = {
52
52
  "additional_considerations_f3801683": {
53
53
  "message": "其他考虑事项"
54
54
  },
55
+ "address_applied_64269b0b": {
56
+ "message": "已应用地址"
57
+ },
58
+ "address_removed_fcb496e0": {
59
+ "message": "已移除地址"
60
+ },
55
61
  "adjacent_links_with_the_same_url_should_be_a_singl_7a1f7f6c": {
56
62
  "message": "具有相同 URL 的相邻链接应该为一个单链接。"
57
63
  },
@@ -208,6 +214,12 @@ const locale = {
208
214
  "blue_daf8fea9": {
209
215
  "message": "蓝色"
210
216
  },
217
+ "bold_applied_42d547b7": {
218
+ "message": "已应用粗体"
219
+ },
220
+ "bold_removed_da474a5c": {
221
+ "message": "已移除粗体"
222
+ },
211
223
  "border_5b08b06d": {
212
224
  "message": "边框"
213
225
  },
@@ -574,6 +586,12 @@ const locale = {
574
586
  "display_text_link_opens_in_a_new_tab_75e9afc9": {
575
587
  "message": "显示文本链接(在新标签页中打开)"
576
588
  },
589
+ "div_applied_49ad83fc": {
590
+ "message": "已应用分区"
591
+ },
592
+ "div_removed_d13f8e17": {
593
+ "message": "已移除分区"
594
+ },
577
595
  "division_sign_72190870": {
578
596
  "message": "除号"
579
597
  },
@@ -931,6 +949,12 @@ const locale = {
931
949
  "heading_4_b2e74be7": {
932
950
  "message": "标题 4"
933
951
  },
952
+ "heading_h_applied_eccd294d": {
953
+ "message": "已应用标题 { h }"
954
+ },
955
+ "heading_h_removed_745f24a6": {
956
+ "message": "已移除标题 { h }"
957
+ },
934
958
  "heading_levels_should_not_be_skipped_3947c0e0": {
935
959
  "message": "不得跳过标题级别。"
936
960
  },
@@ -1117,6 +1141,12 @@ const locale = {
1117
1141
  "issue_num_total_f94536cf": {
1118
1142
  "message": "问题{ num }/{ total }"
1119
1143
  },
1144
+ "italic_applied_8f59a684": {
1145
+ "message": "已应用斜体"
1146
+ },
1147
+ "italic_removed_17cbab6f": {
1148
+ "message": "已移除斜体"
1149
+ },
1120
1150
  "kappa_2f14c816": {
1121
1151
  "message": "Kappa"
1122
1152
  },
@@ -1576,6 +1606,12 @@ const locale = {
1576
1606
  "paragraph_5e5ad8eb": {
1577
1607
  "message": "段落"
1578
1608
  },
1609
+ "paragraph_applied_959b3fe5": {
1610
+ "message": "已应用段落"
1611
+ },
1612
+ "paragraph_removed_d09320e": {
1613
+ "message": "已移除段落"
1614
+ },
1579
1615
  "paragraph_starting_with_start_a59923f8": {
1580
1616
  "message": "以{ start }开始的段落"
1581
1617
  },
@@ -2308,6 +2344,12 @@ const locale = {
2308
2344
  "unable_to_determine_resource_selection_url_7867e060": {
2309
2345
  "message": "无法确定资源选择 url"
2310
2346
  },
2347
+ "underline_applied_ae01ec97": {
2348
+ "message": "已应用下划线"
2349
+ },
2350
+ "underline_removed_3693e17c": {
2351
+ "message": "已移除下划线"
2352
+ },
2311
2353
  "union_e6b57a53": {
2312
2354
  "message": "并集"
2313
2355
  },
@@ -52,6 +52,12 @@ const locale = {
52
52
  "additional_considerations_f3801683": {
53
53
  "message": "其他考慮因素"
54
54
  },
55
+ "address_applied_64269b0b": {
56
+ "message": "已套用位址"
57
+ },
58
+ "address_removed_fcb496e0": {
59
+ "message": "已移除位址"
60
+ },
55
61
  "adjacent_links_with_the_same_url_should_be_a_singl_7a1f7f6c": {
56
62
  "message": "URL 相同的相鄰連結應為單一連結。"
57
63
  },
@@ -208,6 +214,12 @@ const locale = {
208
214
  "blue_daf8fea9": {
209
215
  "message": "藍色"
210
216
  },
217
+ "bold_applied_42d547b7": {
218
+ "message": "已套用粗體"
219
+ },
220
+ "bold_removed_da474a5c": {
221
+ "message": "已移除粗體"
222
+ },
211
223
  "border_5b08b06d": {
212
224
  "message": "邊框"
213
225
  },
@@ -574,6 +586,12 @@ const locale = {
574
586
  "display_text_link_opens_in_a_new_tab_75e9afc9": {
575
587
  "message": "顯示文字連結(在新標籤中開啟)"
576
588
  },
589
+ "div_applied_49ad83fc": {
590
+ "message": "已套用 Div"
591
+ },
592
+ "div_removed_d13f8e17": {
593
+ "message": "已移除 Div"
594
+ },
577
595
  "division_sign_72190870": {
578
596
  "message": "除號"
579
597
  },
@@ -931,6 +949,12 @@ const locale = {
931
949
  "heading_4_b2e74be7": {
932
950
  "message": "標題 4"
933
951
  },
952
+ "heading_h_applied_eccd294d": {
953
+ "message": "已套用標題 { h }"
954
+ },
955
+ "heading_h_removed_745f24a6": {
956
+ "message": "已移除標題 { h }"
957
+ },
934
958
  "heading_levels_should_not_be_skipped_3947c0e0": {
935
959
  "message": "不應跳過標題層。"
936
960
  },
@@ -1117,6 +1141,12 @@ const locale = {
1117
1141
  "issue_num_total_f94536cf": {
1118
1142
  "message": "問題 { num }/{ total }"
1119
1143
  },
1144
+ "italic_applied_8f59a684": {
1145
+ "message": "已套用斜體"
1146
+ },
1147
+ "italic_removed_17cbab6f": {
1148
+ "message": "已移除斜體 "
1149
+ },
1120
1150
  "kappa_2f14c816": {
1121
1151
  "message": "κ"
1122
1152
  },
@@ -1576,6 +1606,12 @@ const locale = {
1576
1606
  "paragraph_5e5ad8eb": {
1577
1607
  "message": "段落"
1578
1608
  },
1609
+ "paragraph_applied_959b3fe5": {
1610
+ "message": "已套用段落"
1611
+ },
1612
+ "paragraph_removed_d09320e": {
1613
+ "message": "已移除段落"
1614
+ },
1579
1615
  "paragraph_starting_with_start_a59923f8": {
1580
1616
  "message": "以 { start } 開始的段落"
1581
1617
  },
@@ -2308,6 +2344,12 @@ const locale = {
2308
2344
  "unable_to_determine_resource_selection_url_7867e060": {
2309
2345
  "message": "無法決定資源選擇網址"
2310
2346
  },
2347
+ "underline_applied_ae01ec97": {
2348
+ "message": "已套用底線"
2349
+ },
2350
+ "underline_removed_3693e17c": {
2351
+ "message": "已移除底線"
2352
+ },
2311
2353
  "union_e6b57a53": {
2312
2354
  "message": "聯集"
2313
2355
  },
@@ -17,7 +17,7 @@
17
17
  */
18
18
 
19
19
  import { isAudio, isImage, isVideo } from '../rce/plugins/shared/fileTypeUtils';
20
- import { AUDIO_PLAYER_SIZE, VIDEO_SIZE_DEFAULT } from '../rce/plugins/instructure_record/VideoOptionsTray/TrayController';
20
+ import { AUDIO_PLAYER_SIZE, videoDefaultSize } from '../rce/plugins/instructure_record/VideoOptionsTray/TrayController';
21
21
  import formatMessage from '../format-message';
22
22
  import { trimmedOrNull } from './string-util';
23
23
  import { assertNever } from './assertNever';
@@ -55,12 +55,13 @@ export async function placeholderInfoFor(fileMetaProps) {
55
55
  image.src = imageUrl;
56
56
  });
57
57
  } else if (typeof type === 'string' && isVideo(type)) {
58
+ const videoSize = videoDefaultSize();
58
59
  return {
59
60
  type: 'block',
60
61
  visibleLabel,
61
62
  ariaLabel,
62
- width: VIDEO_SIZE_DEFAULT.width,
63
- height: VIDEO_SIZE_DEFAULT.height,
63
+ width: videoSize.width,
64
+ height: videoSize.height,
64
65
  vAlign: 'bottom'
65
66
  };
66
67
  } else if (typeof type === 'string' && isAudio(type)) {