@toast-ui/editor 3.0.3 → 3.1.3

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 (60) hide show
  1. package/README.md +4 -4
  2. package/dist/esm/i18n/ar.js +1 -1
  3. package/dist/esm/i18n/cs-cz.js +1 -1
  4. package/dist/esm/i18n/de-de.js +1 -1
  5. package/dist/esm/i18n/en-us.js +1 -1
  6. package/dist/esm/i18n/es-es.js +1 -1
  7. package/dist/esm/i18n/fi-fi.js +1 -1
  8. package/dist/esm/i18n/fr-fr.js +1 -1
  9. package/dist/esm/i18n/gl-es.js +1 -1
  10. package/dist/esm/i18n/hr-hr.js +1 -1
  11. package/dist/esm/i18n/i18n.js +10 -7
  12. package/dist/esm/i18n/it-it.js +1 -1
  13. package/dist/esm/i18n/ja-jp.js +1 -1
  14. package/dist/esm/i18n/ko-kr.js +1 -1
  15. package/dist/esm/i18n/nb-no.js +1 -1
  16. package/dist/esm/i18n/nl-nl.js +1 -1
  17. package/dist/esm/i18n/pl-pl.js +1 -1
  18. package/dist/esm/i18n/pt-br.js +1 -1
  19. package/dist/esm/i18n/ru-ru.js +1 -1
  20. package/dist/esm/i18n/sv-se.js +1 -1
  21. package/dist/esm/i18n/tr-tr.js +1 -1
  22. package/dist/esm/i18n/uk-ua.js +1 -1
  23. package/dist/esm/i18n/zh-cn.js +1 -1
  24. package/dist/esm/i18n/zh-tw.js +1 -1
  25. package/dist/esm/index.js +2587 -887
  26. package/dist/esm/indexViewer.js +1674 -306
  27. package/dist/i18n/ar.js +5 -5
  28. package/dist/i18n/cs-cz.js +5 -5
  29. package/dist/i18n/de-de.js +5 -5
  30. package/dist/i18n/es-es.js +5 -5
  31. package/dist/i18n/fi-fi.js +5 -5
  32. package/dist/i18n/fr-fr.js +5 -5
  33. package/dist/i18n/gl-es.js +5 -5
  34. package/dist/i18n/hr-hr.js +5 -5
  35. package/dist/i18n/it-it.js +5 -5
  36. package/dist/i18n/ja-jp.js +5 -5
  37. package/dist/i18n/ko-kr.js +5 -5
  38. package/dist/i18n/nb-no.js +5 -5
  39. package/dist/i18n/nl-nl.js +5 -5
  40. package/dist/i18n/pl-pl.js +5 -5
  41. package/dist/i18n/pt-br.js +5 -5
  42. package/dist/i18n/ru-ru.js +5 -5
  43. package/dist/i18n/sv-se.js +5 -5
  44. package/dist/i18n/tr-tr.js +5 -5
  45. package/dist/i18n/uk-ua.js +5 -5
  46. package/dist/i18n/zh-cn.js +5 -5
  47. package/dist/i18n/zh-tw.js +5 -5
  48. package/dist/toastui-editor-only.css +1 -1
  49. package/dist/toastui-editor-viewer.css +6 -6
  50. package/dist/toastui-editor-viewer.js +1855 -395
  51. package/dist/toastui-editor.css +6 -6
  52. package/dist/toastui-editor.js +2486 -704
  53. package/package.json +5 -1
  54. package/types/editor.d.ts +6 -4
  55. package/types/event.d.ts +2 -0
  56. package/types/index.d.ts +4 -3
  57. package/types/spec.d.ts +1 -1
  58. package/types/toastui-editor-viewer.d.ts +39 -0
  59. package/types/ui.d.ts +22 -20
  60. package/types/wysiwyg.d.ts +2 -1
package/README.md CHANGED
@@ -52,7 +52,7 @@ $ npm install --save @toast-ui/editor@<version> # Specific Version
52
52
 
53
53
  ### Via Contents Delivery Network (CDN)
54
54
 
55
- TOAST UI products are available over the CDN powered by [TOAST Cloud](https://www.toast.com).
55
+ TOAST UI products are available over the CDN powered by [NHN Cloud](https://www.toast.com).
56
56
 
57
57
  You can use the CDN as below.
58
58
 
@@ -171,6 +171,6 @@ Find out more options [here](https://nhn.github.io/tui.editor/latest/ToastUIEdit
171
171
 
172
172
  ## 🦄 Tutorials
173
173
 
174
- - [Viewer](https://github.com/nhn/tui.editor/blob/master/apps/editor/docs/en/viewer.md)
175
- - [Plugins](https://github.com/nhn/tui.editor/blob/master/apps/editor/docs/en/plugins.md)
176
- - [Internationalization (i18n)](https://github.com/nhn/tui.editor/blob/master/apps/editor/docs/en/i18n.md)
174
+ - [Viewer](https://github.com/nhn/tui.editor/blob/master/docs/en/viewer.md)
175
+ - [Plugins](https://github.com/nhn/tui.editor/blob/master/docs/en/plugin.md)
176
+ - [Internationalization (i18n)](https://github.com/nhn/tui.editor/blob/master/docs/en/i18n.md)
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @toast-ui/editor : i18n
3
- * @version 3.0.3 | Tue Aug 17 2021
3
+ * @version 3.1.3 | Thu Feb 10 2022
4
4
  * @author NHN FE Development Lab <dl_javascript@nhn.com>
5
5
  * @license MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @toast-ui/editor : i18n
3
- * @version 3.0.3 | Tue Aug 17 2021
3
+ * @version 3.1.3 | Thu Feb 10 2022
4
4
  * @author NHN FE Development Lab <dl_javascript@nhn.com>
5
5
  * @license MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @toast-ui/editor : i18n
3
- * @version 3.0.3 | Tue Aug 17 2021
3
+ * @version 3.1.3 | Thu Feb 10 2022
4
4
  * @author NHN FE Development Lab <dl_javascript@nhn.com>
5
5
  * @license MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @toast-ui/editor : i18n
3
- * @version 3.0.3 | Tue Aug 17 2021
3
+ * @version 3.1.3 | Thu Feb 10 2022
4
4
  * @author NHN FE Development Lab <dl_javascript@nhn.com>
5
5
  * @license MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @toast-ui/editor : i18n
3
- * @version 3.0.3 | Tue Aug 17 2021
3
+ * @version 3.1.3 | Thu Feb 10 2022
4
4
  * @author NHN FE Development Lab <dl_javascript@nhn.com>
5
5
  * @license MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @toast-ui/editor : i18n
3
- * @version 3.0.3 | Tue Aug 17 2021
3
+ * @version 3.1.3 | Thu Feb 10 2022
4
4
  * @author NHN FE Development Lab <dl_javascript@nhn.com>
5
5
  * @license MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @toast-ui/editor : i18n
3
- * @version 3.0.3 | Tue Aug 17 2021
3
+ * @version 3.1.3 | Thu Feb 10 2022
4
4
  * @author NHN FE Development Lab <dl_javascript@nhn.com>
5
5
  * @license MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @toast-ui/editor : i18n
3
- * @version 3.0.3 | Tue Aug 17 2021
3
+ * @version 3.1.3 | Thu Feb 10 2022
4
4
  * @author NHN FE Development Lab <dl_javascript@nhn.com>
5
5
  * @license MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @toast-ui/editor : i18n
3
- * @version 3.0.3 | Tue Aug 17 2021
3
+ * @version 3.1.3 | Thu Feb 10 2022
4
4
  * @author NHN FE Development Lab <dl_javascript@nhn.com>
5
5
  * @license MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @toast-ui/editor : i18n
3
- * @version 3.0.3 | Tue Aug 17 2021
3
+ * @version 3.1.3 | Thu Feb 10 2022
4
4
  * @author NHN FE Development Lab <dl_javascript@nhn.com>
5
5
  * @license MIT
6
6
  */
@@ -76,11 +76,15 @@ var isArray = isArray_1;
76
76
  * @returns {number} the First index at which a given element, or -1 if it is not present
77
77
  * @memberof module:array
78
78
  * @example
79
- * var inArray = require('tui-code-snippet/array/inArray'); // node, commonjs
79
+ * // ES6
80
+ * import inArray from 'tui-code-snippet/array/inArray';
81
+ *
82
+ * // CommonJS
83
+ * const inArray = require('tui-code-snippet/array/inArray');
80
84
  *
81
- * var arr = ['one', 'two', 'three', 'four'];
82
- * var idx1 = inArray('one', arr, 3); // -1
83
- * var idx2 = inArray('one', arr); // 0
85
+ * const arr = ['one', 'two', 'three', 'four'];
86
+ * const idx1 = inArray('one', arr, 3); // -1
87
+ * const idx2 = inArray('one', arr); // 0
84
88
  */
85
89
  function inArray(searchElement, array, startIndex) {
86
90
  var i;
@@ -215,5 +219,4 @@ var I18n = /** @class */ (function () {
215
219
  }());
216
220
  var i18n = new I18n();
217
221
 
218
- export default i18n;
219
- export { I18n };
222
+ export { I18n, i18n as default };
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @toast-ui/editor : i18n
3
- * @version 3.0.3 | Tue Aug 17 2021
3
+ * @version 3.1.3 | Thu Feb 10 2022
4
4
  * @author NHN FE Development Lab <dl_javascript@nhn.com>
5
5
  * @license MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @toast-ui/editor : i18n
3
- * @version 3.0.3 | Tue Aug 17 2021
3
+ * @version 3.1.3 | Thu Feb 10 2022
4
4
  * @author NHN FE Development Lab <dl_javascript@nhn.com>
5
5
  * @license MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @toast-ui/editor : i18n
3
- * @version 3.0.3 | Tue Aug 17 2021
3
+ * @version 3.1.3 | Thu Feb 10 2022
4
4
  * @author NHN FE Development Lab <dl_javascript@nhn.com>
5
5
  * @license MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @toast-ui/editor : i18n
3
- * @version 3.0.3 | Tue Aug 17 2021
3
+ * @version 3.1.3 | Thu Feb 10 2022
4
4
  * @author NHN FE Development Lab <dl_javascript@nhn.com>
5
5
  * @license MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @toast-ui/editor : i18n
3
- * @version 3.0.3 | Tue Aug 17 2021
3
+ * @version 3.1.3 | Thu Feb 10 2022
4
4
  * @author NHN FE Development Lab <dl_javascript@nhn.com>
5
5
  * @license MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @toast-ui/editor : i18n
3
- * @version 3.0.3 | Tue Aug 17 2021
3
+ * @version 3.1.3 | Thu Feb 10 2022
4
4
  * @author NHN FE Development Lab <dl_javascript@nhn.com>
5
5
  * @license MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @toast-ui/editor : i18n
3
- * @version 3.0.3 | Tue Aug 17 2021
3
+ * @version 3.1.3 | Thu Feb 10 2022
4
4
  * @author NHN FE Development Lab <dl_javascript@nhn.com>
5
5
  * @license MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @toast-ui/editor : i18n
3
- * @version 3.0.3 | Tue Aug 17 2021
3
+ * @version 3.1.3 | Thu Feb 10 2022
4
4
  * @author NHN FE Development Lab <dl_javascript@nhn.com>
5
5
  * @license MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @toast-ui/editor : i18n
3
- * @version 3.0.3 | Tue Aug 17 2021
3
+ * @version 3.1.3 | Thu Feb 10 2022
4
4
  * @author NHN FE Development Lab <dl_javascript@nhn.com>
5
5
  * @license MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @toast-ui/editor : i18n
3
- * @version 3.0.3 | Tue Aug 17 2021
3
+ * @version 3.1.3 | Thu Feb 10 2022
4
4
  * @author NHN FE Development Lab <dl_javascript@nhn.com>
5
5
  * @license MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @toast-ui/editor : i18n
3
- * @version 3.0.3 | Tue Aug 17 2021
3
+ * @version 3.1.3 | Thu Feb 10 2022
4
4
  * @author NHN FE Development Lab <dl_javascript@nhn.com>
5
5
  * @license MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @toast-ui/editor : i18n
3
- * @version 3.0.3 | Tue Aug 17 2021
3
+ * @version 3.1.3 | Thu Feb 10 2022
4
4
  * @author NHN FE Development Lab <dl_javascript@nhn.com>
5
5
  * @license MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @toast-ui/editor : i18n
3
- * @version 3.0.3 | Tue Aug 17 2021
3
+ * @version 3.1.3 | Thu Feb 10 2022
4
4
  * @author NHN FE Development Lab <dl_javascript@nhn.com>
5
5
  * @license MIT
6
6
  */