@atlaskit/editor-plugin-extension 0.4.1 → 0.4.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.
- package/CHANGELOG.md +6 -0
- package/package.json +3 -3
- package/tmp/api-report-tmp.d.ts +0 -78
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-extension",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "editor-plugin-extension plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
".": "./src/index.ts"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@atlaskit/editor-common": "^76.
|
|
27
|
-
"@atlaskit/editor-plugin-analytics": "^0.
|
|
26
|
+
"@atlaskit/editor-common": "^76.26.0",
|
|
27
|
+
"@atlaskit/editor-plugin-analytics": "^0.4.0",
|
|
28
28
|
"@atlaskit/editor-plugin-context-panel": "^0.2.0",
|
|
29
29
|
"@atlaskit/editor-plugin-decorations": "^0.2.0",
|
|
30
30
|
"@atlaskit/editor-plugin-feature-flags": "^1.0.0",
|
package/tmp/api-report-tmp.d.ts
DELETED
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/editor-plugin-extension"
|
|
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 { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
8
|
-
import type { ApplyChangeHandler } from '@atlaskit/editor-plugin-context-panel';
|
|
9
|
-
import type { ContextPanelPlugin } from '@atlaskit/editor-plugin-context-panel';
|
|
10
|
-
import type { DecorationsPlugin } from '@atlaskit/editor-plugin-decorations';
|
|
11
|
-
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
12
|
-
import type { EditorAppearance } from '@atlaskit/editor-common/types';
|
|
13
|
-
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
14
|
-
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
15
|
-
import type { ExtensionAPI } from '@atlaskit/editor-common/extensions';
|
|
16
|
-
import type { ExtensionHandlers } from '@atlaskit/editor-common/extensions';
|
|
17
|
-
import type { FeatureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
|
|
18
|
-
import type { LongPressSelectionPluginOptions } from '@atlaskit/editor-common/types';
|
|
19
|
-
import type { MacroProvider } from '@atlaskit/editor-common/provider-factory';
|
|
20
|
-
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
21
|
-
import type { Node as Node_2 } from '@atlaskit/editor-prosemirror/model';
|
|
22
|
-
import type { OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
23
|
-
import type { WidthPlugin } from '@atlaskit/editor-plugin-width';
|
|
24
|
-
|
|
25
|
-
// @public (undocumented)
|
|
26
|
-
export type CreateExtensionAPI = (options: CreateExtensionAPIOptions) => ExtensionAPI;
|
|
27
|
-
|
|
28
|
-
// @public (undocumented)
|
|
29
|
-
interface CreateExtensionAPIOptions {
|
|
30
|
-
// (undocumented)
|
|
31
|
-
applyChange: ApplyChangeHandler | undefined;
|
|
32
|
-
// (undocumented)
|
|
33
|
-
editInLegacyMacroBrowser?: () => void;
|
|
34
|
-
// (undocumented)
|
|
35
|
-
editorAnalyticsAPI: EditorAnalyticsAPI | undefined;
|
|
36
|
-
// (undocumented)
|
|
37
|
-
editorView: EditorView;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
// @public (undocumented)
|
|
41
|
-
export type ExtensionPlugin = NextEditorPlugin<'extension', {
|
|
42
|
-
pluginConfiguration: ExtensionPluginOptions | undefined;
|
|
43
|
-
dependencies: [
|
|
44
|
-
OptionalPlugin<AnalyticsPlugin>,
|
|
45
|
-
OptionalPlugin<FeatureFlagsPlugin>,
|
|
46
|
-
WidthPlugin,
|
|
47
|
-
DecorationsPlugin,
|
|
48
|
-
OptionalPlugin<ContextPanelPlugin>
|
|
49
|
-
];
|
|
50
|
-
actions: {
|
|
51
|
-
editSelectedExtension: () => boolean;
|
|
52
|
-
api: () => ExtensionAPI;
|
|
53
|
-
insertMacroFromMacroBrowser: InsertMacroFromMacroBrowser;
|
|
54
|
-
runMacroAutoConvert: RunMacroAutoConvert;
|
|
55
|
-
};
|
|
56
|
-
}>;
|
|
57
|
-
|
|
58
|
-
// @public (undocumented)
|
|
59
|
-
export interface ExtensionPluginOptions extends LongPressSelectionPluginOptions {
|
|
60
|
-
// (undocumented)
|
|
61
|
-
allowAutoSave?: boolean;
|
|
62
|
-
// (undocumented)
|
|
63
|
-
appearance?: EditorAppearance;
|
|
64
|
-
// (undocumented)
|
|
65
|
-
breakoutEnabled?: boolean;
|
|
66
|
-
// (undocumented)
|
|
67
|
-
extensionHandlers?: ExtensionHandlers;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
// @public (undocumented)
|
|
71
|
-
type InsertMacroFromMacroBrowser = (macroProvider: MacroProvider, macroNode?: Node_2, isEditing?: boolean) => (view: EditorView) => Promise<boolean>;
|
|
72
|
-
|
|
73
|
-
// @public (undocumented)
|
|
74
|
-
export type RunMacroAutoConvert = (state: EditorState, text: string) => Node_2 | null;
|
|
75
|
-
|
|
76
|
-
// (No @packageDocumentation comment for this package)
|
|
77
|
-
|
|
78
|
-
```
|