@instructure/canvas-rce 5.6.11 → 5.6.12

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 (62) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/es/rce/editorLanguage.js +2 -0
  3. package/lib/rce/editorLanguage.js +2 -0
  4. package/lib/translated/ar/modules/rce/editorLanguage.js +2 -0
  5. package/lib/translated/ca/modules/rce/editorLanguage.js +2 -0
  6. package/lib/translated/cy/modules/rce/editorLanguage.js +2 -0
  7. package/lib/translated/da/modules/rce/editorLanguage.js +2 -0
  8. package/lib/translated/da-x-k12/modules/rce/editorLanguage.js +2 -0
  9. package/lib/translated/de/modules/rce/editorLanguage.js +2 -0
  10. package/lib/translated/el/modules/rce/editorLanguage.js +2 -0
  11. package/lib/translated/en/modules/rce/editorLanguage.js +2 -0
  12. package/lib/translated/en-AU-x-unimelb/modules/rce/editorLanguage.js +2 -0
  13. package/lib/translated/en-GB-x-ukhe/modules/rce/editorLanguage.js +2 -0
  14. package/lib/translated/en_AU/modules/rce/editorLanguage.js +2 -0
  15. package/lib/translated/en_CA/modules/rce/editorLanguage.js +2 -0
  16. package/lib/translated/en_CY/modules/rce/editorLanguage.js +2 -0
  17. package/lib/translated/en_GB/modules/rce/editorLanguage.js +2 -0
  18. package/lib/translated/es/modules/rce/editorLanguage.js +2 -0
  19. package/lib/translated/es_ES/modules/rce/editorLanguage.js +2 -0
  20. package/lib/translated/es_GT/modules/rce/editorLanguage.js +2 -0
  21. package/lib/translated/fa_IR/modules/rce/editorLanguage.js +2 -0
  22. package/lib/translated/fi/modules/rce/editorLanguage.js +2 -0
  23. package/lib/translated/fr/modules/rce/editorLanguage.js +2 -0
  24. package/lib/translated/fr_CA/modules/rce/editorLanguage.js +2 -0
  25. package/lib/translated/he/modules/rce/editorLanguage.js +2 -0
  26. package/lib/translated/ht/modules/rce/editorLanguage.js +2 -0
  27. package/lib/translated/hu/modules/rce/editorLanguage.js +2 -0
  28. package/lib/translated/hy/modules/rce/editorLanguage.js +2 -0
  29. package/lib/translated/is/modules/rce/editorLanguage.js +2 -0
  30. package/lib/translated/it/modules/rce/editorLanguage.js +2 -0
  31. package/lib/translated/ja/modules/rce/editorLanguage.js +2 -0
  32. package/lib/translated/ko/modules/rce/editorLanguage.js +2 -0
  33. package/lib/translated/mi/modules/rce/editorLanguage.js +2 -0
  34. package/lib/translated/ms/modules/rce/editorLanguage.js +2 -0
  35. package/lib/translated/nb/modules/rce/editorLanguage.js +2 -0
  36. package/lib/translated/nb-x-k12/modules/rce/editorLanguage.js +2 -0
  37. package/lib/translated/nl/modules/rce/editorLanguage.js +2 -0
  38. package/lib/translated/nn/modules/rce/editorLanguage.js +2 -0
  39. package/lib/translated/pl/modules/rce/editorLanguage.js +2 -0
  40. package/lib/translated/pt/modules/rce/editorLanguage.js +2 -0
  41. package/lib/translated/pt_BR/modules/rce/editorLanguage.js +2 -0
  42. package/lib/translated/ru/modules/rce/editorLanguage.js +2 -0
  43. package/lib/translated/se/modules/rce/editorLanguage.js +2 -0
  44. package/lib/translated/sl/modules/rce/editorLanguage.js +2 -0
  45. package/lib/translated/sv/modules/rce/editorLanguage.js +2 -0
  46. package/lib/translated/sv-x-k12/modules/rce/editorLanguage.js +2 -0
  47. package/lib/translated/sv_SE/modules/rce/editorLanguage.js +2 -0
  48. package/lib/translated/tg/modules/rce/editorLanguage.js +2 -0
  49. package/lib/translated/th/modules/rce/editorLanguage.js +2 -0
  50. package/lib/translated/th_TH/modules/rce/editorLanguage.js +2 -0
  51. package/lib/translated/tr/modules/rce/editorLanguage.js +2 -0
  52. package/lib/translated/uk_UA/modules/rce/editorLanguage.js +2 -0
  53. package/lib/translated/vi/modules/rce/editorLanguage.js +2 -0
  54. package/lib/translated/vi_VN/modules/rce/editorLanguage.js +2 -0
  55. package/lib/translated/zh/modules/rce/editorLanguage.js +2 -0
  56. package/lib/translated/zh-Hans/modules/rce/editorLanguage.js +2 -0
  57. package/lib/translated/zh-Hant/modules/rce/editorLanguage.js +2 -0
  58. package/lib/translated/zh_HK/modules/rce/editorLanguage.js +2 -0
  59. package/package.json +1 -1
  60. package/testcafe/build/testcafe.js +1 -1
  61. package/screenshots/2023-01-25_15-38-03/test-1/Chrome_109.0.0.0_macOS_10.15.7/errors/1.png +0 -0
  62. package/screenshots/2023-01-25_15-43-23/test-1/Chrome_109.0.0.0_macOS_10.15.7/errors/1.png +0 -0
package/CHANGELOG.md CHANGED
@@ -1,30 +1,51 @@
1
1
  # Changelog
2
+
2
3
  All notable changes to this project will be documented in this file.
3
4
 
4
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
7
 
8
+ # 5.6.12 - 2023-01-26
9
+
10
+ ### Changed
11
+
12
+ - Update the CHANGELOG for changes that were published with v5.6.11
13
+
14
+ # 5.6.11 - 2023-01-25
15
+
16
+ ### Changed
17
+
18
+ - Removed Unsplash support
19
+ - Fixed various bugs with fullscreen RCE
20
+ - Enhance copy/paste and drag-and-drop into the RCE
21
+ - Transform initial content to ensure Canvas URLs are relative and remove unnecessary data attributes
22
+
7
23
  # 5.6.10 - 2022-12-09
8
24
 
9
25
  ### Changed
26
+
10
27
  - Fixed inline preview in non-Canvas settings
11
28
  - Fixed video embeds in non-Canvas settings
12
29
  - Fixed fullscreen behavior in non-Canvas settings
13
30
 
14
31
  ### Added
32
+
15
33
  - Properties to disable specific plugins (e.g. word count)
16
34
 
17
35
  # 5.6.9 - 2022-11-19
18
36
 
19
37
  ### Changed
38
+
20
39
  - Fixed a bug causing errors when used outside of Canvas
21
40
 
22
41
  # 5.6.8 - 2022-11-16
23
42
 
24
43
  ### Added
44
+
25
45
  - User content enhancement option for opening Canvas links in a new tab
26
46
 
27
47
  ### Changed
48
+
28
49
  - Fixed word count to no longer include contents of @mentions dropdown
29
50
  - Word count modal can be opened from the status bar
30
51
  - Fixed a bug related to uploading files in external apps
@@ -32,15 +53,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
32
53
  # 5.6.3 - 2022-11-11
33
54
 
34
55
  ### Changed
56
+
35
57
  - Fixes to handling of relative URLs in enhance user content
36
58
  - Fixes to document preview in iframe-embedded scenarios
37
59
 
38
60
  # 5.6.2 - 2022-11-03
39
61
 
40
62
  ### Added
63
+
41
64
  - User content enhancement function for rendering RCE-authored content
42
65
 
43
66
  ### Changed
67
+
44
68
  - RCE now embeds relative links, and uses provided `canvasOrigin` to resolve them
45
69
  - No longer need to provide the list of closed-caption languages
46
70
  - Unsplash now respects plugin settings
@@ -49,25 +73,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
49
73
  # 5.6.1 - 2022-09-14
50
74
 
51
75
  ### Added
76
+
52
77
  - Icon Maker features
53
78
  - Cropper dragging support
54
79
  - Reset button for restoring initial values
55
80
  - Restriction on raster image size
56
81
 
57
82
  ### Changed
83
+
58
84
  - Stop throwing error when `timezone` or `features` props aren't provided
59
85
 
60
86
  ## 5.6 - 2022-08-17
61
87
 
62
88
  ### Added
89
+
63
90
  - MacOS keyboard shortcut help
64
91
  - TypeScript support
65
92
  - Accessibility Checker rule to require `<h2>` as the highest heading
66
93
 
67
94
  ### Changed
95
+
68
96
  - Fixed dependency cycle between `@instructure/canvas-rce` and
69
97
  `@instructure/canvas-media` that caused build errors for external consumers
70
98
 
71
99
  ## 5.5 - 2022-08-04
100
+
72
101
  ### Added
102
+
73
103
  - A changelog to make changes clear
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
@@ -49,6 +49,8 @@ const mapping = {
49
49
  ja: 'ja',
50
50
  ko: 'ko_KR',
51
51
  mi: undefined,
52
+ ms: undefined,
53
+ // tiny has Malayalam but not Malay Standard, haiyaa
52
54
  nb: 'nb_NO',
53
55
  nl: 'nl',
54
56
  nn: 'nb_NO',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/canvas-rce",
3
- "version": "5.6.11",
3
+ "version": "5.6.12",
4
4
  "description": "A component wrapping canvas's common tinymce usage",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -17615,7 +17615,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
17615
17615
  /*! no static exports found */
17616
17616
  /***/ (function(module, exports) {
17617
17617
 
17618
- eval("/*\n * Copyright (C) 2018 - present Instructure, Inc.\n *\n * This file is part of Canvas.\n *\n * Canvas is free software: you can redistribute it and/or modify it under\n * the terms of the GNU Affero General Public License as published by the Free\n * Software Foundation, version 3 of the License.\n *\n * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY\n * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR\n * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more\n * details.\n *\n * You should have received a copy of the GNU Affero General Public License along\n * with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n// if a locale is absent, we don't expect to receive it from canvas, but we'll\n// treat it the same as how we explicitly use english for Maori.\nconst mapping = {\n ar: 'ar_SA',\n bg: 'bg_BG',\n ca: 'ca',\n cs: 'cs',\n cy: 'cy',\n da: 'da',\n de: 'de',\n el: 'el',\n // returning undefined tell tinymce to use it's default (en) strings\n en: undefined,\n // tinymce doesn't have Australian strings, so just pretend it's en-GB\n 'en-AU': 'en_GB',\n 'en-GB': 'en_GB',\n es: 'es',\n 'es-ES': 'es',\n fa: 'fa_IR',\n 'fa-IR': 'fa_IR',\n fi: 'fi',\n fr: 'fr_FR',\n 'fr-CA': 'fr_FR',\n he: 'he_IL',\n ht: undefined,\n // tiny doesn't have Haitian Creole\n hu: 'hu_HU',\n hy: 'hy',\n is: undefined,\n // tiny doesn't have Icelandic\n it: 'it',\n ja: 'ja',\n ko: 'ko_KR',\n mi: undefined,\n nb: 'nb_NO',\n nl: 'nl',\n nn: 'nb_NO',\n // tiny doesn't have Norwegian (Nynorsk) so go to Norwegian (Bokmal)\n pl: 'pl',\n pt: 'pt_PT',\n 'pt-BR': 'pt_BR',\n ro: 'ro',\n ru: 'ru',\n sq: undefined,\n // tiny doesn't have Albanian\n sr: 'sr',\n sl: 'sl',\n sv: 'sv_SE',\n th: 'th',\n tr: 'tr_TR',\n 'uk-UA': 'uk_UA',\n uk: 'uk_UA',\n vi: 'vi_VN',\n zh: 'zh_CN',\n 'zh-HK': 'zh_TW',\n 'zh-Hans': 'zh_CN',\n 'zh-Hant': 'zh_TW'\n}; // still expose it as a method for consistent usage and in case we ever have to\n// add special casing or null interpretation in the future\n\nfunction editorLanguage(locale) {\n if (!locale) {\n return mapping.en;\n }\n\n if (locale.match('_')) {\n locale = locale.replace('_', '-');\n } // tinymce won't know about custom locales, use the base one for mapping\n\n\n if (locale.match('-x-')) {\n locale = locale.split('-x-')[0];\n }\n\n if (mapping[locale]) {\n return mapping[locale];\n }\n\n return mapping[locale.split('-')[0]];\n}\n\nmodule.exports = editorLanguage;\n\n//# sourceURL=webpack:///./src/rce/editorLanguage.js?");
17618
+ eval("/*\n * Copyright (C) 2018 - present Instructure, Inc.\n *\n * This file is part of Canvas.\n *\n * Canvas is free software: you can redistribute it and/or modify it under\n * the terms of the GNU Affero General Public License as published by the Free\n * Software Foundation, version 3 of the License.\n *\n * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY\n * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR\n * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more\n * details.\n *\n * You should have received a copy of the GNU Affero General Public License along\n * with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n// if a locale is absent, we don't expect to receive it from canvas, but we'll\n// treat it the same as how we explicitly use english for Maori.\nconst mapping = {\n ar: 'ar_SA',\n bg: 'bg_BG',\n ca: 'ca',\n cs: 'cs',\n cy: 'cy',\n da: 'da',\n de: 'de',\n el: 'el',\n // returning undefined tell tinymce to use it's default (en) strings\n en: undefined,\n // tinymce doesn't have Australian strings, so just pretend it's en-GB\n 'en-AU': 'en_GB',\n 'en-GB': 'en_GB',\n es: 'es',\n 'es-ES': 'es',\n fa: 'fa_IR',\n 'fa-IR': 'fa_IR',\n fi: 'fi',\n fr: 'fr_FR',\n 'fr-CA': 'fr_FR',\n he: 'he_IL',\n ht: undefined,\n // tiny doesn't have Haitian Creole\n hu: 'hu_HU',\n hy: 'hy',\n is: undefined,\n // tiny doesn't have Icelandic\n it: 'it',\n ja: 'ja',\n ko: 'ko_KR',\n mi: undefined,\n ms: undefined,\n // tiny has Malayalam but not Malay Standard, haiyaa\n nb: 'nb_NO',\n nl: 'nl',\n nn: 'nb_NO',\n // tiny doesn't have Norwegian (Nynorsk) so go to Norwegian (Bokmal)\n pl: 'pl',\n pt: 'pt_PT',\n 'pt-BR': 'pt_BR',\n ro: 'ro',\n ru: 'ru',\n sq: undefined,\n // tiny doesn't have Albanian\n sr: 'sr',\n sl: 'sl',\n sv: 'sv_SE',\n th: 'th',\n tr: 'tr_TR',\n 'uk-UA': 'uk_UA',\n uk: 'uk_UA',\n vi: 'vi_VN',\n zh: 'zh_CN',\n 'zh-HK': 'zh_TW',\n 'zh-Hans': 'zh_CN',\n 'zh-Hant': 'zh_TW'\n}; // still expose it as a method for consistent usage and in case we ever have to\n// add special casing or null interpretation in the future\n\nfunction editorLanguage(locale) {\n if (!locale) {\n return mapping.en;\n }\n\n if (locale.match('_')) {\n locale = locale.replace('_', '-');\n } // tinymce won't know about custom locales, use the base one for mapping\n\n\n if (locale.match('-x-')) {\n locale = locale.split('-x-')[0];\n }\n\n if (mapping[locale]) {\n return mapping[locale];\n }\n\n return mapping[locale.split('-')[0]];\n}\n\nmodule.exports = editorLanguage;\n\n//# sourceURL=webpack:///./src/rce/editorLanguage.js?");
17619
17619
 
17620
17620
  /***/ }),
17621
17621