biso24-editor 1.3.0 → 1.3.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.
Files changed (53) hide show
  1. package/CKEditor4/CHANGES.md +2182 -2182
  2. package/CKEditor4/LICENSE.md +1436 -1436
  3. package/CKEditor4/README.md +39 -39
  4. package/CKEditor4/SECURITY.md +10 -10
  5. package/CKEditor4/adapters/jquery.js +158 -158
  6. package/CKEditor4/bender-runner.config.json +16 -16
  7. package/CKEditor4/build-config.js +100 -100
  8. package/CKEditor4/ckeditor.js +30065 -30065
  9. package/CKEditor4/config.js +39 -39
  10. package/CKEditor4/contents.css +161 -161
  11. package/CKEditor4/lang/vi.js +475 -475
  12. package/CKEditor4/plugins/a11yhelp/dialogs/a11yhelp.js +143 -143
  13. package/CKEditor4/plugins/a11yhelp/dialogs/lang/vi.js +122 -122
  14. package/CKEditor4/plugins/custompaste/plugin.js +57 -57
  15. package/CKEditor4/plugins/dialog/dialogDefinition.js +4 -4
  16. package/CKEditor4/plugins/dialog/styles/dialog.css +18 -18
  17. package/CKEditor4/plugins/font/lang/vi.js +14 -14
  18. package/CKEditor4/plugins/font/plugin.js +535 -535
  19. package/CKEditor4/plugins/image2/dialogs/image2.js +558 -558
  20. package/CKEditor4/plugins/image2/lang/vi.js +21 -21
  21. package/CKEditor4/plugins/image2/plugin.js +1716 -1708
  22. package/CKEditor4/plugins/justify/plugin.js +266 -266
  23. package/CKEditor4/plugins/justify_group/plugin.js +64 -64
  24. package/CKEditor4/plugins/lineheight/LICENSE +22 -22
  25. package/CKEditor4/plugins/lineheight/README.md +2 -2
  26. package/CKEditor4/plugins/lineheight/lang/vi.js +3 -3
  27. package/CKEditor4/plugins/lineheight/plugin.js +99 -99
  28. package/CKEditor4/plugins/lineheight/readme.txt +30 -30
  29. package/CKEditor4/plugins/link/dialogs/anchor.js +82 -82
  30. package/CKEditor4/plugins/link/dialogs/link.js +777 -777
  31. package/CKEditor4/plugins/menubutton/plugin.js +99 -99
  32. package/CKEditor4/plugins/pastefromword/filter/default.js +849 -849
  33. package/CKEditor4/plugins/pastetools/filter/common.js +445 -445
  34. package/CKEditor4/plugins/pastetools/filter/image.js +163 -163
  35. package/CKEditor4/plugins/pdffile/plugin.js +36 -36
  36. package/CKEditor4/plugins/placeholder_button/plugin.js +31 -31
  37. package/CKEditor4/plugins/sourcedialog/dialogs/sourcedialog.js +88 -88
  38. package/CKEditor4/plugins/sourcedialog/lang/vi.js +9 -9
  39. package/CKEditor4/plugins/sourcedialog/plugin.js +30 -30
  40. package/CKEditor4/plugins/wordfile/plugin.js +161 -161
  41. package/CKEditor4/skins/moono-lisa/dialog.css +685 -685
  42. package/CKEditor4/skins/moono-lisa/dialog_ie.css +721 -721
  43. package/CKEditor4/skins/moono-lisa/dialog_ie8.css +746 -746
  44. package/CKEditor4/skins/moono-lisa/dialog_iequirks.css +724 -724
  45. package/CKEditor4/skins/moono-lisa/editor.css +1551 -1551
  46. package/CKEditor4/skins/moono-lisa/editor_gecko.css +1556 -1556
  47. package/CKEditor4/skins/moono-lisa/editor_ie.css +1588 -1588
  48. package/CKEditor4/skins/moono-lisa/editor_ie8.css +1639 -1639
  49. package/CKEditor4/skins/moono-lisa/editor_iequirks.css +1632 -1632
  50. package/CKEditor4/skins/moono-lisa/readme.md +46 -46
  51. package/CKEditor4/styles.js +136 -136
  52. package/CKEditor4/vendor/promise.js +385 -385
  53. package/package.json +1 -1
@@ -1,99 +1,99 @@
1
- /**
2
- * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- CKEDITOR.plugins.add('menubutton', {
7
- requires: 'button,menu',
8
- onLoad: function () {
9
- var clickFn = function (editor) {
10
- var _ = this._,
11
- menu = _.menu;
12
-
13
- // Do nothing if this button is disabled.
14
- if (_.state === CKEDITOR.TRISTATE_DISABLED) return;
15
-
16
- if (_.on && menu) {
17
- menu.hide();
18
- return;
19
- }
20
-
21
- _.previousState = _.state;
22
-
23
- // Check if we already have a menu for it, otherwise just create it.
24
- if (!menu) {
25
- menu = _.menu = new CKEDITOR.menu(editor, {
26
- panel: {
27
- className: 'cke_menu_panel',
28
- attributes: { 'aria-label': editor.lang.common.options },
29
- },
30
- });
31
-
32
- menu.onHide = CKEDITOR.tools.bind(function () {
33
- var modes = this.command ? editor.getCommand(this.command).modes : this.modes;
34
- this.setState(!modes || modes[editor.mode] ? _.previousState : CKEDITOR.TRISTATE_DISABLED);
35
- _.on = 0;
36
- }, this);
37
-
38
- // Initialize the menu items at this point.
39
- if (this.onMenu) menu.addListener(this.onMenu);
40
- }
41
-
42
- this.setState(CKEDITOR.TRISTATE_ON);
43
- _.on = 1;
44
-
45
- // This timeout is needed to give time for the panel get focus
46
- // when JAWS is running. (https://dev.ckeditor.com/ticket/9842)
47
- setTimeout(function () {
48
- menu.show(CKEDITOR.document.getById(_.id), 4);
49
- }, 0);
50
- };
51
-
52
- /**
53
- * @class
54
- * @extends CKEDITOR.ui.button
55
- * @todo
56
- */
57
- CKEDITOR.ui.menuButton = CKEDITOR.tools.createClass({
58
- base: CKEDITOR.ui.button,
59
-
60
- /**
61
- * Creates a menuButton class instance.
62
- *
63
- * @constructor
64
- * @param Object definition
65
- * @todo
66
- */
67
- $: function (definition) {
68
- // We don't want the panel definition in this object.
69
- delete definition.panel;
70
-
71
- this.base(definition);
72
-
73
- this.hasArrow = 'menu';
74
-
75
- this.click = clickFn;
76
- },
77
-
78
- statics: {
79
- handler: {
80
- create: function (definition) {
81
- return new CKEDITOR.ui.menuButton(definition);
82
- },
83
- },
84
- },
85
- });
86
- },
87
- beforeInit: function (editor) {
88
- editor.ui.addHandler(CKEDITOR.UI_MENUBUTTON, CKEDITOR.ui.menuButton.handler);
89
- },
90
- });
91
-
92
- /**
93
- * Button UI element.
94
- *
95
- * @readonly
96
- * @property {String} [='menubutton']
97
- * @member CKEDITOR
98
- */
99
- CKEDITOR.UI_MENUBUTTON = 'menubutton';
1
+ /**
2
+ * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ CKEDITOR.plugins.add('menubutton', {
7
+ requires: 'button,menu',
8
+ onLoad: function () {
9
+ var clickFn = function (editor) {
10
+ var _ = this._,
11
+ menu = _.menu;
12
+
13
+ // Do nothing if this button is disabled.
14
+ if (_.state === CKEDITOR.TRISTATE_DISABLED) return;
15
+
16
+ if (_.on && menu) {
17
+ menu.hide();
18
+ return;
19
+ }
20
+
21
+ _.previousState = _.state;
22
+
23
+ // Check if we already have a menu for it, otherwise just create it.
24
+ if (!menu) {
25
+ menu = _.menu = new CKEDITOR.menu(editor, {
26
+ panel: {
27
+ className: 'cke_menu_panel',
28
+ attributes: { 'aria-label': editor.lang.common.options },
29
+ },
30
+ });
31
+
32
+ menu.onHide = CKEDITOR.tools.bind(function () {
33
+ var modes = this.command ? editor.getCommand(this.command).modes : this.modes;
34
+ this.setState(!modes || modes[editor.mode] ? _.previousState : CKEDITOR.TRISTATE_DISABLED);
35
+ _.on = 0;
36
+ }, this);
37
+
38
+ // Initialize the menu items at this point.
39
+ if (this.onMenu) menu.addListener(this.onMenu);
40
+ }
41
+
42
+ this.setState(CKEDITOR.TRISTATE_ON);
43
+ _.on = 1;
44
+
45
+ // This timeout is needed to give time for the panel get focus
46
+ // when JAWS is running. (https://dev.ckeditor.com/ticket/9842)
47
+ setTimeout(function () {
48
+ menu.show(CKEDITOR.document.getById(_.id), 4);
49
+ }, 0);
50
+ };
51
+
52
+ /**
53
+ * @class
54
+ * @extends CKEDITOR.ui.button
55
+ * @todo
56
+ */
57
+ CKEDITOR.ui.menuButton = CKEDITOR.tools.createClass({
58
+ base: CKEDITOR.ui.button,
59
+
60
+ /**
61
+ * Creates a menuButton class instance.
62
+ *
63
+ * @constructor
64
+ * @param Object definition
65
+ * @todo
66
+ */
67
+ $: function (definition) {
68
+ // We don't want the panel definition in this object.
69
+ delete definition.panel;
70
+
71
+ this.base(definition);
72
+
73
+ this.hasArrow = 'menu';
74
+
75
+ this.click = clickFn;
76
+ },
77
+
78
+ statics: {
79
+ handler: {
80
+ create: function (definition) {
81
+ return new CKEDITOR.ui.menuButton(definition);
82
+ },
83
+ },
84
+ },
85
+ });
86
+ },
87
+ beforeInit: function (editor) {
88
+ editor.ui.addHandler(CKEDITOR.UI_MENUBUTTON, CKEDITOR.ui.menuButton.handler);
89
+ },
90
+ });
91
+
92
+ /**
93
+ * Button UI element.
94
+ *
95
+ * @readonly
96
+ * @property {String} [='menubutton']
97
+ * @member CKEDITOR
98
+ */
99
+ CKEDITOR.UI_MENUBUTTON = 'menubutton';