@ckeditor/ckeditor5-enter 38.2.0-alpha.0 → 38.2.0-alpha.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/package.json +4 -4
- package/src/augmentation.d.ts +1 -1
- package/src/enter.js +2 -2
- package/src/entercommand.js +1 -1
- package/src/index.d.ts +6 -6
- package/src/index.js +3 -3
- package/src/shiftenter.js +2 -2
- package/src/shiftentercommand.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-enter",
|
|
3
|
-
"version": "38.2.0-alpha.
|
|
3
|
+
"version": "38.2.0-alpha.1",
|
|
4
4
|
"description": "Enter feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
"main": "src/index.js",
|
|
14
14
|
"type": "module",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "38.2.0-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "38.2.0-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-utils": "38.2.0-alpha.
|
|
16
|
+
"@ckeditor/ckeditor5-core": "38.2.0-alpha.1",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "38.2.0-alpha.1",
|
|
18
|
+
"@ckeditor/ckeditor5-utils": "38.2.0-alpha.1"
|
|
19
19
|
},
|
|
20
20
|
"engines": {
|
|
21
21
|
"node": ">=16.0.0",
|
package/src/augmentation.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
import type { Enter, ShiftEnter, EnterCommand, ShiftEnterCommand } from './index';
|
|
5
|
+
import type { Enter, ShiftEnter, EnterCommand, ShiftEnterCommand } from './index.js';
|
|
6
6
|
declare module '@ckeditor/ckeditor5-core' {
|
|
7
7
|
interface PluginsMap {
|
|
8
8
|
[Enter.pluginName]: Enter;
|
package/src/enter.js
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
* @module enter/enter
|
|
7
7
|
*/
|
|
8
8
|
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
9
|
-
import EnterCommand from './entercommand';
|
|
10
|
-
import EnterObserver from './enterobserver';
|
|
9
|
+
import EnterCommand from './entercommand.js';
|
|
10
|
+
import EnterObserver from './enterobserver.js';
|
|
11
11
|
/**
|
|
12
12
|
* This plugin handles the <kbd>Enter</kbd> keystroke (hard line break) in the editor.
|
|
13
13
|
*
|
package/src/entercommand.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @module enter/entercommand
|
|
7
7
|
*/
|
|
8
8
|
import { Command } from '@ckeditor/ckeditor5-core';
|
|
9
|
-
import { getCopyOnEnterAttributes } from './utils';
|
|
9
|
+
import { getCopyOnEnterAttributes } from './utils.js';
|
|
10
10
|
/**
|
|
11
11
|
* Enter command used by the {@link module:enter/enter~Enter Enter feature} to handle the <kbd>Enter</kbd> keystroke.
|
|
12
12
|
*/
|
package/src/index.d.ts
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module enter
|
|
7
7
|
*/
|
|
8
|
-
export { default as Enter } from './enter';
|
|
9
|
-
export { default as ShiftEnter } from './shiftenter';
|
|
10
|
-
export type { ViewDocumentEnterEvent } from './enterobserver';
|
|
11
|
-
export type { default as EnterCommand, EnterCommandAfterExecuteEvent } from './entercommand';
|
|
12
|
-
export type { default as ShiftEnterCommand } from './shiftentercommand';
|
|
13
|
-
import './augmentation';
|
|
8
|
+
export { default as Enter } from './enter.js';
|
|
9
|
+
export { default as ShiftEnter } from './shiftenter.js';
|
|
10
|
+
export type { ViewDocumentEnterEvent } from './enterobserver.js';
|
|
11
|
+
export type { default as EnterCommand, EnterCommandAfterExecuteEvent } from './entercommand.js';
|
|
12
|
+
export type { default as ShiftEnterCommand } from './shiftentercommand.js';
|
|
13
|
+
import './augmentation.js';
|
package/src/index.js
CHANGED
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module enter
|
|
7
7
|
*/
|
|
8
|
-
export { default as Enter } from './enter';
|
|
9
|
-
export { default as ShiftEnter } from './shiftenter';
|
|
10
|
-
import './augmentation';
|
|
8
|
+
export { default as Enter } from './enter.js';
|
|
9
|
+
export { default as ShiftEnter } from './shiftenter.js';
|
|
10
|
+
import './augmentation.js';
|
package/src/shiftenter.js
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module enter/shiftenter
|
|
7
7
|
*/
|
|
8
|
-
import ShiftEnterCommand from './shiftentercommand';
|
|
9
|
-
import EnterObserver from './enterobserver';
|
|
8
|
+
import ShiftEnterCommand from './shiftentercommand.js';
|
|
9
|
+
import EnterObserver from './enterobserver.js';
|
|
10
10
|
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
11
11
|
/**
|
|
12
12
|
* This plugin handles the <kbd>Shift</kbd>+<kbd>Enter</kbd> keystroke (soft line break) in the editor.
|
package/src/shiftentercommand.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @module enter/shiftentercommand
|
|
7
7
|
*/
|
|
8
8
|
import { Command } from '@ckeditor/ckeditor5-core';
|
|
9
|
-
import { getCopyOnEnterAttributes } from './utils';
|
|
9
|
+
import { getCopyOnEnterAttributes } from './utils.js';
|
|
10
10
|
/**
|
|
11
11
|
* ShiftEnter command. It is used by the {@link module:enter/shiftenter~ShiftEnter ShiftEnter feature} to handle
|
|
12
12
|
* the <kbd>Shift</kbd>+<kbd>Enter</kbd> keystroke.
|