@atlaskit/editor-plugin-save-on-enter 1.3.10 → 1.3.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.
- package/CHANGELOG.md +14 -0
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/saveOnEnterPluginType.js +5 -0
- package/dist/es2019/index.js +1 -1
- package/dist/es2019/saveOnEnterPluginType.js +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/saveOnEnterPluginType.js +1 -0
- package/dist/types/index.d.ts +2 -2
- package/dist/{types-ts4.5/plugin.d.ts → types/saveOnEnterPlugin.d.ts} +1 -6
- package/dist/types/saveOnEnterPluginType.d.ts +7 -0
- package/dist/types-ts4.5/index.d.ts +2 -2
- package/dist/{types/plugin.d.ts → types-ts4.5/saveOnEnterPlugin.d.ts} +1 -6
- package/dist/types-ts4.5/saveOnEnterPluginType.d.ts +7 -0
- package/package.json +6 -3
- /package/dist/cjs/{plugin.js → saveOnEnterPlugin.js} +0 -0
- /package/dist/es2019/{plugin.js → saveOnEnterPlugin.js} +0 -0
- /package/dist/esm/{plugin.js → saveOnEnterPlugin.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-save-on-enter
|
|
2
2
|
|
|
3
|
+
## 1.3.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#171440](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/171440)
|
|
8
|
+
[`835f7bbff3122`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/835f7bbff3122) -
|
|
9
|
+
ED-25816: refactors plugins to meet folder standards
|
|
10
|
+
|
|
11
|
+
## 1.3.11
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 1.3.10
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/cjs/index.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
Object.defineProperty(exports, "saveOnEnterPlugin", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function get() {
|
|
9
|
-
return
|
|
9
|
+
return _saveOnEnterPlugin.saveOnEnterPlugin;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
-
var
|
|
12
|
+
var _saveOnEnterPlugin = require("./saveOnEnterPlugin");
|
package/dist/es2019/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { saveOnEnterPlugin } from './
|
|
1
|
+
export { saveOnEnterPlugin } from './saveOnEnterPlugin';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/esm/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { saveOnEnterPlugin } from './
|
|
1
|
+
export { saveOnEnterPlugin } from './saveOnEnterPlugin';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { saveOnEnterPlugin } from './
|
|
2
|
-
export type { SaveOnEnterPlugin } from './
|
|
1
|
+
export { saveOnEnterPlugin } from './saveOnEnterPlugin';
|
|
2
|
+
export type { SaveOnEnterPlugin } from './saveOnEnterPluginType';
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import type { Dispatch } from '@atlaskit/editor-common/event-dispatcher';
|
|
2
2
|
import type { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
3
|
-
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
4
3
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
|
+
import type { SaveOnEnterPlugin } from './saveOnEnterPluginType';
|
|
5
5
|
export declare function createPlugin(eventDispatch: Dispatch, onSave?: (editorView: EditorView) => void): SafePlugin | undefined;
|
|
6
|
-
type Config = (editorView: EditorView) => void;
|
|
7
|
-
export type SaveOnEnterPlugin = NextEditorPlugin<'saveOnEnter', {
|
|
8
|
-
pluginConfiguration: Config | undefined;
|
|
9
|
-
}>;
|
|
10
6
|
export declare const saveOnEnterPlugin: SaveOnEnterPlugin;
|
|
11
|
-
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
2
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
3
|
+
type Config = (editorView: EditorView) => void;
|
|
4
|
+
export type SaveOnEnterPlugin = NextEditorPlugin<'saveOnEnter', {
|
|
5
|
+
pluginConfiguration: Config | undefined;
|
|
6
|
+
}>;
|
|
7
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { saveOnEnterPlugin } from './
|
|
2
|
-
export type { SaveOnEnterPlugin } from './
|
|
1
|
+
export { saveOnEnterPlugin } from './saveOnEnterPlugin';
|
|
2
|
+
export type { SaveOnEnterPlugin } from './saveOnEnterPluginType';
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import type { Dispatch } from '@atlaskit/editor-common/event-dispatcher';
|
|
2
2
|
import type { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
3
|
-
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
4
3
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
|
+
import type { SaveOnEnterPlugin } from './saveOnEnterPluginType';
|
|
5
5
|
export declare function createPlugin(eventDispatch: Dispatch, onSave?: (editorView: EditorView) => void): SafePlugin | undefined;
|
|
6
|
-
type Config = (editorView: EditorView) => void;
|
|
7
|
-
export type SaveOnEnterPlugin = NextEditorPlugin<'saveOnEnter', {
|
|
8
|
-
pluginConfiguration: Config | undefined;
|
|
9
|
-
}>;
|
|
10
6
|
export declare const saveOnEnterPlugin: SaveOnEnterPlugin;
|
|
11
|
-
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
2
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
3
|
+
type Config = (editorView: EditorView) => void;
|
|
4
|
+
export type SaveOnEnterPlugin = NextEditorPlugin<'saveOnEnter', {
|
|
5
|
+
pluginConfiguration: Config | undefined;
|
|
6
|
+
}>;
|
|
7
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-save-on-enter",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.12",
|
|
4
4
|
"description": "Save-on-enter plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
".": "./src/index.ts"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@atlaskit/editor-common": "^
|
|
35
|
-
"@atlaskit/editor-prosemirror": "6.
|
|
34
|
+
"@atlaskit/editor-common": "^96.3.0",
|
|
35
|
+
"@atlaskit/editor-prosemirror": "6.2.1",
|
|
36
36
|
"@babel/runtime": "^7.0.0"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
@@ -43,6 +43,9 @@
|
|
|
43
43
|
},
|
|
44
44
|
"techstack": {
|
|
45
45
|
"@atlassian/frontend": {
|
|
46
|
+
"code-structure": [
|
|
47
|
+
"editor-plugin"
|
|
48
|
+
],
|
|
46
49
|
"import-structure": [
|
|
47
50
|
"atlassian-conventions"
|
|
48
51
|
],
|
|
File without changes
|
|
File without changes
|
|
File without changes
|