@atlaskit/editor-core 234.0.1 → 234.1.0
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
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 234.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`efadf6d4a1214`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/efadf6d4a1214) -
|
|
8
|
+
The universal preset's initialPluginConfiguration.quickInsertPlugin now accepts isRecommendedItem,
|
|
9
|
+
so consumers can curate or hide the Recommended section of the slash command menu (behind
|
|
10
|
+
platform_editor_slash_command).
|
|
11
|
+
|
|
3
12
|
## 234.0.1
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -6,4 +6,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.version = exports.name = void 0;
|
|
7
7
|
var name = exports.name = "@atlaskit/editor-core";
|
|
8
8
|
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
9
|
-
var version = exports.version = "234.0.
|
|
9
|
+
var version = exports.version = "234.0.1";
|
|
@@ -2,6 +2,7 @@ import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
|
|
|
2
2
|
import type { ContextualFormattingEnabledOptions } from '@atlaskit/editor-common/toolbar';
|
|
3
3
|
import type { EditorAppearance, FeatureFlags } from '@atlaskit/editor-common/types';
|
|
4
4
|
import type { ToolbarInsertBlockButtonsConfig } from '@atlaskit/editor-plugin-insert-block';
|
|
5
|
+
import type { QuickInsertPluginOptions } from '@atlaskit/editor-plugin-quick-insert/quick-insert-plugin-type';
|
|
5
6
|
import type { ExtensionPluginOptions } from '@atlaskit/editor-plugins/extension';
|
|
6
7
|
import type { BreakpointPreset } from '@atlaskit/editor-toolbar';
|
|
7
8
|
import type { EditorPluginFeatureProps, EditorProps, EditorProviderProps, EditorSharedPropsWithPlugins } from '../types/editor-props';
|
|
@@ -47,9 +48,7 @@ export type InitialPluginConfiguration = {
|
|
|
47
48
|
type: 'added' | 'deleted';
|
|
48
49
|
}[]) => void;
|
|
49
50
|
};
|
|
50
|
-
quickInsertPlugin?:
|
|
51
|
-
blockControlButtonEnabled?: boolean;
|
|
52
|
-
};
|
|
51
|
+
quickInsertPlugin?: Pick<QuickInsertPluginOptions, 'blockControlButtonEnabled' | 'isRecommendedItem'>;
|
|
53
52
|
tasksAndDecisionsPlugin?: {
|
|
54
53
|
allowBlockTaskItem?: boolean;
|
|
55
54
|
hasEditPermission?: boolean;
|