@atlaskit/editor-plugin-block-type 4.0.10 → 4.0.11
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 +9 -0
- package/dist/cjs/blockTypePlugin.js +1 -8
- package/dist/cjs/pm-plugins/commands/block-type.js +0 -1
- package/dist/cjs/pm-plugins/keymap.js +6 -4
- package/dist/cjs/pm-plugins/main.js +3 -3
- package/dist/es2019/blockTypePlugin.js +2 -4
- package/dist/es2019/index.js +3 -0
- package/dist/es2019/pm-plugins/commands/block-type.js +1 -1
- package/dist/es2019/pm-plugins/keymap.js +3 -1
- package/dist/es2019/pm-plugins/main.js +1 -1
- package/dist/es2019/ui/consts.js +3 -0
- package/dist/esm/blockTypePlugin.js +2 -4
- package/dist/esm/index.js +3 -0
- package/dist/esm/pm-plugins/commands/block-type.js +1 -1
- package/dist/esm/pm-plugins/keymap.js +3 -1
- package/dist/esm/pm-plugins/main.js +1 -1
- package/dist/esm/ui/consts.js +3 -0
- package/dist/types/blockTypePlugin.d.ts +0 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/types/pm-plugins/commands/block-type.d.ts +0 -1
- package/dist/types-ts4.5/blockTypePlugin.d.ts +0 -2
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/dist/types-ts4.5/pm-plugins/commands/block-type.d.ts +0 -1
- package/package.json +3 -3
- package/dist/cjs/pm-plugins/commands/index.js +0 -62
- package/dist/es2019/pm-plugins/commands/index.js +0 -3
- package/dist/esm/pm-plugins/commands/index.js +0 -3
- package/dist/types/pm-plugins/commands/index.d.ts +0 -4
- package/dist/types-ts4.5/pm-plugins/commands/index.d.ts +0 -4
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# @atlaskit/editor-plugin-block-type
|
2
2
|
|
3
|
+
## 4.0.11
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- [#176596](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/176596)
|
8
|
+
[`86e9b63cc47f0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/86e9b63cc47f0) -
|
9
|
+
Remove internal re-exports
|
10
|
+
- Updated dependencies
|
11
|
+
|
3
12
|
## 4.0.10
|
4
13
|
|
5
14
|
### Patch Changes
|
@@ -5,12 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
6
6
|
});
|
7
7
|
exports.blockTypePlugin = void 0;
|
8
|
-
Object.defineProperty(exports, "pluginKey", {
|
9
|
-
enumerable: true,
|
10
|
-
get: function get() {
|
11
|
-
return _main.pluginKey;
|
12
|
-
}
|
13
|
-
});
|
14
8
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
15
9
|
var _react = _interopRequireDefault(require("react"));
|
16
10
|
var _adfSchema = require("@atlaskit/adf-schema");
|
@@ -21,7 +15,6 @@ var _quickInsert = require("@atlaskit/editor-common/quick-insert");
|
|
21
15
|
var _types = require("@atlaskit/editor-common/types");
|
22
16
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
23
17
|
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
24
|
-
var _commands = require("./pm-plugins/commands");
|
25
18
|
var _blockType = require("./pm-plugins/commands/block-type");
|
26
19
|
var _inputRule = _interopRequireDefault(require("./pm-plugins/input-rule"));
|
27
20
|
var _keymap = _interopRequireDefault(require("./pm-plugins/keymap"));
|
@@ -192,7 +185,7 @@ var blockTypePlugin = exports.blockTypePlugin = function blockTypePlugin(_ref3)
|
|
192
185
|
commands: {
|
193
186
|
setTextLevel: function setTextLevel(level, inputMethod) {
|
194
187
|
var _api$analytics4;
|
195
|
-
return (0,
|
188
|
+
return (0, _blockType.setBlockTypeWithAnalytics)(level, inputMethod, api === null || api === void 0 || (_api$analytics4 = api.analytics) === null || _api$analytics4 === void 0 ? void 0 : _api$analytics4.actions);
|
196
189
|
}
|
197
190
|
},
|
198
191
|
getSharedState: function getSharedState(editorState) {
|
@@ -8,7 +8,6 @@ exports.setBlockType = setBlockType;
|
|
8
8
|
exports.setBlockTypeWithAnalytics = setBlockTypeWithAnalytics;
|
9
9
|
exports.setHeading = setHeading;
|
10
10
|
exports.setHeadingWithAnalytics = void 0;
|
11
|
-
exports.setNormalText = setNormalText;
|
12
11
|
exports.setNormalTextWithAnalytics = setNormalTextWithAnalytics;
|
13
12
|
var _analytics = require("@atlaskit/editor-common/analytics");
|
14
13
|
var _editorAnalytics = require("@atlaskit/editor-common/editor-analytics");
|
@@ -11,12 +11,14 @@ var _utils = require("@atlaskit/editor-common/utils");
|
|
11
11
|
var _commands = require("@atlaskit/editor-prosemirror/commands");
|
12
12
|
var _history = require("@atlaskit/editor-prosemirror/history");
|
13
13
|
var blockTypes = _interopRequireWildcard(require("./block-types"));
|
14
|
-
var
|
14
|
+
var _blockType = require("./commands/block-type");
|
15
|
+
var _deleteAndMoveCursor = require("./commands/delete-and-move-cursor");
|
16
|
+
var _deleteBlockContent = require("./commands/delete-block-content");
|
15
17
|
var _utils2 = require("./utils");
|
16
18
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
17
19
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
18
|
-
var backspaceCommand = (0, _commands.chainCommands)(
|
19
|
-
var del = (0, _commands.chainCommands)((0, _utils.deleteEmptyParagraphAndMoveBlockUp)(_utils2.isNodeAWrappingBlockNode), (0,
|
20
|
+
var backspaceCommand = (0, _commands.chainCommands)(_blockType.cleanUpAtTheStartOfDocument, (0, _deleteBlockContent.deleteBlockContent)(_utils2.isNodeAWrappingBlockNode), _deleteAndMoveCursor.deleteAndMoveCursor);
|
21
|
+
var del = (0, _commands.chainCommands)((0, _utils.deleteEmptyParagraphAndMoveBlockUp)(_utils2.isNodeAWrappingBlockNode), (0, _deleteBlockContent.deleteBlockContent)(_utils2.isNodeAWrappingBlockNode), _deleteAndMoveCursor.deleteAndMoveCursor);
|
20
22
|
function keymapPlugin(editorAnalyticsApi, schema, _featureFlags) {
|
21
23
|
var list = {};
|
22
24
|
(0, _keymaps.bindKeymapWithCommand)(_keymaps.insertNewLine.common, (0, _utils.insertNewLineWithAnalytics)(editorAnalyticsApi), list);
|
@@ -28,7 +30,7 @@ function keymapPlugin(editorAnalyticsApi, schema, _featureFlags) {
|
|
28
30
|
(0, _keymaps.bindKeymapWithCommand)(_keymaps.deleteKey.common, del, list);
|
29
31
|
(0, _keymaps.bindKeymapWithCommand)(_keymaps.forwardDelete.mac, del, list);
|
30
32
|
if (schema.nodes[blockTypes.BLOCK_QUOTE.nodeName]) {
|
31
|
-
(0, _keymaps.bindKeymapWithCommand)((0, _keymaps.findShortcutByKeymap)(_keymaps.toggleBlockQuote), (0,
|
33
|
+
(0, _keymaps.bindKeymapWithCommand)((0, _keymaps.findShortcutByKeymap)(_keymaps.toggleBlockQuote), (0, _blockType.insertBlockQuoteWithAnalytics)(_analytics.INPUT_METHOD.KEYBOARD, editorAnalyticsApi), list);
|
32
34
|
}
|
33
35
|
return (0, _keymaps.keymap)(list);
|
34
36
|
}
|
@@ -12,7 +12,7 @@ var _safePlugin = require("@atlaskit/editor-common/safe-plugin");
|
|
12
12
|
var _state = require("@atlaskit/editor-prosemirror/state");
|
13
13
|
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
14
14
|
var _blockTypes = require("./block-types");
|
15
|
-
var
|
15
|
+
var _blockType = require("./commands/block-type");
|
16
16
|
var _consts = require("./consts");
|
17
17
|
var _utils = require("./utils");
|
18
18
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
@@ -73,9 +73,9 @@ var detectBlockType = function detectBlockType(availableBlockTypes, state) {
|
|
73
73
|
};
|
74
74
|
var autoformatHeading = function autoformatHeading(headingLevel, editorAnalyticsApi) {
|
75
75
|
if (headingLevel === 0) {
|
76
|
-
return (0,
|
76
|
+
return (0, _blockType.setNormalTextWithAnalytics)(_analytics.INPUT_METHOD.FORMATTING, editorAnalyticsApi);
|
77
77
|
}
|
78
|
-
return (0,
|
78
|
+
return (0, _blockType.setHeadingWithAnalytics)(headingLevel, _analytics.INPUT_METHOD.FORMATTING, editorAnalyticsApi);
|
79
79
|
};
|
80
80
|
var pluginKey = exports.pluginKey = new _state.PluginKey('blockTypePlugin');
|
81
81
|
var createPlugin = exports.createPlugin = function createPlugin(editorAPI, dispatch, lastNodeMustBeParagraph) {
|
@@ -7,8 +7,7 @@ import { IconHeading, IconQuote } from '@atlaskit/editor-common/quick-insert';
|
|
7
7
|
import { ToolbarSize } from '@atlaskit/editor-common/types';
|
8
8
|
import { fg } from '@atlaskit/platform-feature-flags';
|
9
9
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
10
|
-
import { setBlockTypeWithAnalytics } from './pm-plugins/commands';
|
11
|
-
import { insertBlockQuoteWithAnalytics } from './pm-plugins/commands/block-type';
|
10
|
+
import { setBlockTypeWithAnalytics, insertBlockQuoteWithAnalytics } from './pm-plugins/commands/block-type';
|
12
11
|
import inputRulePlugin from './pm-plugins/input-rule';
|
13
12
|
import keymapPlugin from './pm-plugins/keymap';
|
14
13
|
import { createPlugin, pluginKey } from './pm-plugins/main';
|
@@ -221,5 +220,4 @@ const blockTypePlugin = ({
|
|
221
220
|
}
|
222
221
|
};
|
223
222
|
};
|
224
|
-
export { blockTypePlugin };
|
225
|
-
export { pluginKey } from './pm-plugins/main';
|
223
|
+
export { blockTypePlugin };
|
package/dist/es2019/index.js
CHANGED
@@ -4,7 +4,9 @@ import { createNewParagraphAbove, createNewParagraphBelow, deleteEmptyParagraphA
|
|
4
4
|
import { chainCommands } from '@atlaskit/editor-prosemirror/commands';
|
5
5
|
import { redo, undo } from '@atlaskit/editor-prosemirror/history';
|
6
6
|
import * as blockTypes from './block-types';
|
7
|
-
import { cleanUpAtTheStartOfDocument,
|
7
|
+
import { cleanUpAtTheStartOfDocument, insertBlockQuoteWithAnalytics } from './commands/block-type';
|
8
|
+
import { deleteAndMoveCursor } from './commands/delete-and-move-cursor';
|
9
|
+
import { deleteBlockContent } from './commands/delete-block-content';
|
8
10
|
import { isNodeAWrappingBlockNode } from './utils';
|
9
11
|
const backspaceCommand = chainCommands(cleanUpAtTheStartOfDocument, deleteBlockContent(isNodeAWrappingBlockNode), deleteAndMoveCursor);
|
10
12
|
const del = chainCommands(deleteEmptyParagraphAndMoveBlockUp(isNodeAWrappingBlockNode), deleteBlockContent(isNodeAWrappingBlockNode), deleteAndMoveCursor);
|
@@ -4,7 +4,7 @@ import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
4
4
|
import { PluginKey } from '@atlaskit/editor-prosemirror/state';
|
5
5
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
6
6
|
import { BLOCK_QUOTE, CODE_BLOCK, HEADING_1, HEADING_2, HEADING_3, HEADING_4, HEADING_5, HEADING_6, HEADINGS_BY_LEVEL, NORMAL_TEXT, OTHER, PANEL, TEXT_BLOCK_TYPES, WRAPPER_BLOCK_TYPES } from './block-types';
|
7
|
-
import { setHeadingWithAnalytics, setNormalTextWithAnalytics } from './commands';
|
7
|
+
import { setHeadingWithAnalytics, setNormalTextWithAnalytics } from './commands/block-type';
|
8
8
|
import { HEADING_KEYS } from './consts';
|
9
9
|
import { areBlockTypesDisabled } from './utils';
|
10
10
|
const blockTypeForNode = (node, schema) => {
|
package/dist/es2019/ui/consts.js
CHANGED
@@ -8,8 +8,7 @@ import { IconHeading, IconQuote } from '@atlaskit/editor-common/quick-insert';
|
|
8
8
|
import { ToolbarSize } from '@atlaskit/editor-common/types';
|
9
9
|
import { fg } from '@atlaskit/platform-feature-flags';
|
10
10
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
11
|
-
import { setBlockTypeWithAnalytics } from './pm-plugins/commands';
|
12
|
-
import { insertBlockQuoteWithAnalytics } from './pm-plugins/commands/block-type';
|
11
|
+
import { setBlockTypeWithAnalytics, insertBlockQuoteWithAnalytics } from './pm-plugins/commands/block-type';
|
13
12
|
import inputRulePlugin from './pm-plugins/input-rule';
|
14
13
|
import keymapPlugin from './pm-plugins/keymap';
|
15
14
|
import { createPlugin, pluginKey } from './pm-plugins/main';
|
@@ -223,5 +222,4 @@ var blockTypePlugin = function blockTypePlugin(_ref3) {
|
|
223
222
|
}
|
224
223
|
};
|
225
224
|
};
|
226
|
-
export { blockTypePlugin };
|
227
|
-
export { pluginKey } from './pm-plugins/main';
|
225
|
+
export { blockTypePlugin };
|
package/dist/esm/index.js
CHANGED
@@ -4,7 +4,9 @@ import { createNewParagraphAbove, createNewParagraphBelow, deleteEmptyParagraphA
|
|
4
4
|
import { chainCommands } from '@atlaskit/editor-prosemirror/commands';
|
5
5
|
import { redo, undo } from '@atlaskit/editor-prosemirror/history';
|
6
6
|
import * as blockTypes from './block-types';
|
7
|
-
import { cleanUpAtTheStartOfDocument,
|
7
|
+
import { cleanUpAtTheStartOfDocument, insertBlockQuoteWithAnalytics } from './commands/block-type';
|
8
|
+
import { deleteAndMoveCursor } from './commands/delete-and-move-cursor';
|
9
|
+
import { deleteBlockContent } from './commands/delete-block-content';
|
8
10
|
import { isNodeAWrappingBlockNode } from './utils';
|
9
11
|
var backspaceCommand = chainCommands(cleanUpAtTheStartOfDocument, deleteBlockContent(isNodeAWrappingBlockNode), deleteAndMoveCursor);
|
10
12
|
var del = chainCommands(deleteEmptyParagraphAndMoveBlockUp(isNodeAWrappingBlockNode), deleteBlockContent(isNodeAWrappingBlockNode), deleteAndMoveCursor);
|
@@ -7,7 +7,7 @@ import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
7
7
|
import { PluginKey } from '@atlaskit/editor-prosemirror/state';
|
8
8
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
9
9
|
import { BLOCK_QUOTE, CODE_BLOCK, HEADING_1, HEADING_2, HEADING_3, HEADING_4, HEADING_5, HEADING_6, HEADINGS_BY_LEVEL, NORMAL_TEXT, OTHER, PANEL, TEXT_BLOCK_TYPES, WRAPPER_BLOCK_TYPES } from './block-types';
|
10
|
-
import { setHeadingWithAnalytics, setNormalTextWithAnalytics } from './commands';
|
10
|
+
import { setHeadingWithAnalytics, setNormalTextWithAnalytics } from './commands/block-type';
|
11
11
|
import { HEADING_KEYS } from './consts';
|
12
12
|
import { areBlockTypesDisabled } from './utils';
|
13
13
|
var blockTypeForNode = function blockTypeForNode(node, schema) {
|
package/dist/esm/ui/consts.js
CHANGED
package/dist/types/index.d.ts
CHANGED
@@ -2,6 +2,6 @@ export { blockTypePlugin } from './blockTypePlugin';
|
|
2
2
|
export type { BlockTypePlugin } from './blockTypePluginType';
|
3
3
|
export type { BlockTypePluginOptions, BlockType } from './pm-plugins/types';
|
4
4
|
export type { BlockTypeState } from './pm-plugins/main';
|
5
|
-
export type { InputMethod } from './pm-plugins/commands';
|
5
|
+
export type { InputMethod } from './pm-plugins/commands/block-type';
|
6
6
|
export type { DropdownItem } from './pm-plugins/ui/ToolbarBlockType';
|
7
7
|
export type { TextBlockTypes } from './pm-plugins/block-types';
|
@@ -5,7 +5,6 @@ export type InputMethod = INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPU
|
|
5
5
|
export declare function setBlockType(name: TextBlockTypes): EditorCommand;
|
6
6
|
export declare function setHeading(level: HeadingLevelsAndNormalText): EditorCommand;
|
7
7
|
export declare function setBlockTypeWithAnalytics(name: TextBlockTypes, inputMethod: InputMethod, editorAnalyticsApi: EditorAnalyticsAPI | undefined): EditorCommand;
|
8
|
-
export declare function setNormalText(): EditorCommand;
|
9
8
|
export declare function setNormalTextWithAnalytics(inputMethod: InputMethod, editorAnalyticsApi: EditorAnalyticsAPI | undefined): EditorCommand;
|
10
9
|
export declare const setHeadingWithAnalytics: (newHeadingLevel: HeadingLevelsAndNormalText, inputMethod: InputMethod, editorAnalyticsApi: EditorAnalyticsAPI | undefined) => EditorCommand;
|
11
10
|
/**
|
@@ -2,6 +2,6 @@ export { blockTypePlugin } from './blockTypePlugin';
|
|
2
2
|
export type { BlockTypePlugin } from './blockTypePluginType';
|
3
3
|
export type { BlockTypePluginOptions, BlockType } from './pm-plugins/types';
|
4
4
|
export type { BlockTypeState } from './pm-plugins/main';
|
5
|
-
export type { InputMethod } from './pm-plugins/commands';
|
5
|
+
export type { InputMethod } from './pm-plugins/commands/block-type';
|
6
6
|
export type { DropdownItem } from './pm-plugins/ui/ToolbarBlockType';
|
7
7
|
export type { TextBlockTypes } from './pm-plugins/block-types';
|
@@ -5,7 +5,6 @@ export type InputMethod = INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPU
|
|
5
5
|
export declare function setBlockType(name: TextBlockTypes): EditorCommand;
|
6
6
|
export declare function setHeading(level: HeadingLevelsAndNormalText): EditorCommand;
|
7
7
|
export declare function setBlockTypeWithAnalytics(name: TextBlockTypes, inputMethod: InputMethod, editorAnalyticsApi: EditorAnalyticsAPI | undefined): EditorCommand;
|
8
|
-
export declare function setNormalText(): EditorCommand;
|
9
8
|
export declare function setNormalTextWithAnalytics(inputMethod: InputMethod, editorAnalyticsApi: EditorAnalyticsAPI | undefined): EditorCommand;
|
10
9
|
export declare const setHeadingWithAnalytics: (newHeadingLevel: HeadingLevelsAndNormalText, inputMethod: InputMethod, editorAnalyticsApi: EditorAnalyticsAPI | undefined) => EditorCommand;
|
11
10
|
/**
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@atlaskit/editor-plugin-block-type",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.11",
|
4
4
|
"description": "BlockType plugin for @atlaskit/editor-core",
|
5
5
|
"author": "Atlassian Pty Ltd",
|
6
6
|
"license": "Apache-2.0",
|
@@ -45,7 +45,7 @@
|
|
45
45
|
"@atlaskit/primitives": "^13.3.0",
|
46
46
|
"@atlaskit/prosemirror-input-rules": "^3.2.0",
|
47
47
|
"@atlaskit/theme": "^14.0.0",
|
48
|
-
"@atlaskit/tmp-editor-statsig": "^2.
|
48
|
+
"@atlaskit/tmp-editor-statsig": "^2.25.0",
|
49
49
|
"@atlaskit/tokens": "^2.4.0",
|
50
50
|
"@babel/runtime": "^7.0.0",
|
51
51
|
"@emotion/react": "^11.7.1"
|
@@ -57,7 +57,7 @@
|
|
57
57
|
},
|
58
58
|
"devDependencies": {
|
59
59
|
"@af/visual-regression": "*",
|
60
|
-
"@atlaskit/analytics-next": "^10.
|
60
|
+
"@atlaskit/analytics-next": "^10.2.0",
|
61
61
|
"@atlaskit/editor-plugin-quick-insert": "^1.8.0",
|
62
62
|
"@atlaskit/editor-plugin-type-ahead": "^1.11.0",
|
63
63
|
"@atlaskit/ssr": "*",
|
@@ -1,62 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
Object.defineProperty(exports, "cleanUpAtTheStartOfDocument", {
|
7
|
-
enumerable: true,
|
8
|
-
get: function get() {
|
9
|
-
return _blockType.cleanUpAtTheStartOfDocument;
|
10
|
-
}
|
11
|
-
});
|
12
|
-
Object.defineProperty(exports, "deleteAndMoveCursor", {
|
13
|
-
enumerable: true,
|
14
|
-
get: function get() {
|
15
|
-
return _deleteAndMoveCursor.deleteAndMoveCursor;
|
16
|
-
}
|
17
|
-
});
|
18
|
-
Object.defineProperty(exports, "deleteBlockContent", {
|
19
|
-
enumerable: true,
|
20
|
-
get: function get() {
|
21
|
-
return _deleteBlockContent.deleteBlockContent;
|
22
|
-
}
|
23
|
-
});
|
24
|
-
Object.defineProperty(exports, "insertBlockQuoteWithAnalytics", {
|
25
|
-
enumerable: true,
|
26
|
-
get: function get() {
|
27
|
-
return _blockType.insertBlockQuoteWithAnalytics;
|
28
|
-
}
|
29
|
-
});
|
30
|
-
Object.defineProperty(exports, "setBlockType", {
|
31
|
-
enumerable: true,
|
32
|
-
get: function get() {
|
33
|
-
return _blockType.setBlockType;
|
34
|
-
}
|
35
|
-
});
|
36
|
-
Object.defineProperty(exports, "setBlockTypeWithAnalytics", {
|
37
|
-
enumerable: true,
|
38
|
-
get: function get() {
|
39
|
-
return _blockType.setBlockTypeWithAnalytics;
|
40
|
-
}
|
41
|
-
});
|
42
|
-
Object.defineProperty(exports, "setHeadingWithAnalytics", {
|
43
|
-
enumerable: true,
|
44
|
-
get: function get() {
|
45
|
-
return _blockType.setHeadingWithAnalytics;
|
46
|
-
}
|
47
|
-
});
|
48
|
-
Object.defineProperty(exports, "setNormalText", {
|
49
|
-
enumerable: true,
|
50
|
-
get: function get() {
|
51
|
-
return _blockType.setNormalText;
|
52
|
-
}
|
53
|
-
});
|
54
|
-
Object.defineProperty(exports, "setNormalTextWithAnalytics", {
|
55
|
-
enumerable: true,
|
56
|
-
get: function get() {
|
57
|
-
return _blockType.setNormalTextWithAnalytics;
|
58
|
-
}
|
59
|
-
});
|
60
|
-
var _blockType = require("./block-type");
|
61
|
-
var _deleteAndMoveCursor = require("./delete-and-move-cursor");
|
62
|
-
var _deleteBlockContent = require("./delete-block-content");
|
@@ -1,3 +0,0 @@
|
|
1
|
-
export { cleanUpAtTheStartOfDocument, insertBlockQuoteWithAnalytics, setBlockType, setBlockTypeWithAnalytics, setHeadingWithAnalytics, setNormalText, setNormalTextWithAnalytics } from './block-type';
|
2
|
-
export { deleteAndMoveCursor } from './delete-and-move-cursor';
|
3
|
-
export { deleteBlockContent } from './delete-block-content';
|
@@ -1,3 +0,0 @@
|
|
1
|
-
export { cleanUpAtTheStartOfDocument, insertBlockQuoteWithAnalytics, setBlockType, setBlockTypeWithAnalytics, setHeadingWithAnalytics, setNormalText, setNormalTextWithAnalytics } from './block-type';
|
2
|
-
export { deleteAndMoveCursor } from './delete-and-move-cursor';
|
3
|
-
export { deleteBlockContent } from './delete-block-content';
|
@@ -1,4 +0,0 @@
|
|
1
|
-
export { cleanUpAtTheStartOfDocument, insertBlockQuoteWithAnalytics, setBlockType, setBlockTypeWithAnalytics, setHeadingWithAnalytics, setNormalText, setNormalTextWithAnalytics, } from './block-type';
|
2
|
-
export type { InputMethod } from './block-type';
|
3
|
-
export { deleteAndMoveCursor } from './delete-and-move-cursor';
|
4
|
-
export { deleteBlockContent } from './delete-block-content';
|
@@ -1,4 +0,0 @@
|
|
1
|
-
export { cleanUpAtTheStartOfDocument, insertBlockQuoteWithAnalytics, setBlockType, setBlockTypeWithAnalytics, setHeadingWithAnalytics, setNormalText, setNormalTextWithAnalytics, } from './block-type';
|
2
|
-
export type { InputMethod } from './block-type';
|
3
|
-
export { deleteAndMoveCursor } from './delete-and-move-cursor';
|
4
|
-
export { deleteBlockContent } from './delete-block-content';
|