@atlaskit/editor-plugin-save-on-enter 0.1.0 → 0.1.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/CHANGELOG.md +6 -0
- package/package.json +4 -7
- package/tmp/api-report-tmp.d.ts +0 -23
package/CHANGELOG.md
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-save-on-enter
|
|
2
|
+
|
|
3
|
+
## 0.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#65802](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65802) [`438ead060875`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/438ead060875) - Ensure all editor plugins are marked as singletons
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-save-on-enter",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Save-on-enter plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -9,12 +9,10 @@
|
|
|
9
9
|
},
|
|
10
10
|
"atlassian": {
|
|
11
11
|
"team": "Editor: Lego",
|
|
12
|
+
"singleton": true,
|
|
12
13
|
"inPublicMirror": false,
|
|
13
14
|
"releaseModel": "continuous",
|
|
14
|
-
"
|
|
15
|
-
"name": "EditorPluginSaveOnEnter",
|
|
16
|
-
"category": "Components"
|
|
17
|
-
}
|
|
15
|
+
"runReact18": false
|
|
18
16
|
},
|
|
19
17
|
"repository": "https://bitbucket.org/atlassian/atlassian-frontend",
|
|
20
18
|
"main": "dist/cjs/index.js",
|
|
@@ -35,7 +33,7 @@
|
|
|
35
33
|
".": "./src/index.ts"
|
|
36
34
|
},
|
|
37
35
|
"dependencies": {
|
|
38
|
-
"@atlaskit/editor-common": "^76.
|
|
36
|
+
"@atlaskit/editor-common": "^76.35.0",
|
|
39
37
|
"@atlaskit/editor-prosemirror": "1.1.0",
|
|
40
38
|
"@babel/runtime": "^7.0.0"
|
|
41
39
|
},
|
|
@@ -46,7 +44,6 @@
|
|
|
46
44
|
"@af/visual-regression": "*",
|
|
47
45
|
"@atlaskit/ssr": "*",
|
|
48
46
|
"@atlaskit/visual-regression": "*",
|
|
49
|
-
"@atlaskit/webdriver-runner": "*",
|
|
50
47
|
"@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
|
|
51
48
|
"@testing-library/react": "^12.1.5",
|
|
52
49
|
"react-dom": "^16.8.0",
|
package/tmp/api-report-tmp.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/editor-plugin-save-on-enter"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
8
|
-
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
9
|
-
|
|
10
|
-
// @public (undocumented)
|
|
11
|
-
type Config = (editorView: EditorView) => void;
|
|
12
|
-
|
|
13
|
-
// @public (undocumented)
|
|
14
|
-
export type SaveOnEnterPlugin = NextEditorPlugin<'saveOnEnter', {
|
|
15
|
-
pluginConfiguration: Config | undefined;
|
|
16
|
-
}>;
|
|
17
|
-
|
|
18
|
-
// @public (undocumented)
|
|
19
|
-
export const saveOnEnterPlugin: SaveOnEnterPlugin;
|
|
20
|
-
|
|
21
|
-
// (No @packageDocumentation comment for this package)
|
|
22
|
-
|
|
23
|
-
```
|