@atlaskit/editor-core 189.3.22 → 189.3.24
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/plugins/find-replace/ui/Find.js +5 -2
- package/dist/cjs/plugins/find-replace/ui/styles.js +9 -6
- package/dist/cjs/plugins/indentation/commands/index.js +5 -5
- package/dist/cjs/plugins/indentation/index.js +26 -2
- package/dist/cjs/plugins/indentation/pm-plugins/keymap.js +1 -1
- package/dist/cjs/plugins/tasks-and-decisions/index.js +8 -1
- package/dist/cjs/plugins/toolbar-lists-indentation/index.js +34 -37
- package/dist/cjs/plugins/toolbar-lists-indentation/pm-plugins/indentation-buttons.js +14 -57
- package/dist/cjs/plugins/toolbar-lists-indentation/ui/Toolbar.js +2 -3
- package/dist/cjs/plugins/toolbar-lists-indentation/ui/ToolbarDropdown.js +2 -3
- package/dist/cjs/plugins/toolbar-lists-indentation/ui/index.js +3 -2
- package/dist/cjs/plugins/toolbar-lists-indentation/ui/onItemActivated.js +11 -15
- package/dist/cjs/ui/ConfigPanel/ConfigPanel.js +3 -43
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/plugins/find-replace/ui/Find.js +6 -3
- package/dist/es2019/plugins/find-replace/ui/styles.js +8 -5
- package/dist/es2019/plugins/indentation/commands/index.js +3 -3
- package/dist/es2019/plugins/indentation/index.js +49 -17
- package/dist/es2019/plugins/indentation/pm-plugins/keymap.js +1 -1
- package/dist/es2019/plugins/tasks-and-decisions/index.js +8 -1
- package/dist/es2019/plugins/toolbar-lists-indentation/index.js +14 -20
- package/dist/es2019/plugins/toolbar-lists-indentation/pm-plugins/indentation-buttons.js +11 -52
- package/dist/es2019/plugins/toolbar-lists-indentation/ui/Toolbar.js +1 -2
- package/dist/es2019/plugins/toolbar-lists-indentation/ui/ToolbarDropdown.js +1 -2
- package/dist/es2019/plugins/toolbar-lists-indentation/ui/index.js +3 -2
- package/dist/es2019/plugins/toolbar-lists-indentation/ui/onItemActivated.js +11 -15
- package/dist/es2019/ui/ConfigPanel/ConfigPanel.js +1 -42
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/plugins/find-replace/ui/Find.js +6 -3
- package/dist/esm/plugins/find-replace/ui/styles.js +8 -5
- package/dist/esm/plugins/indentation/commands/index.js +3 -3
- package/dist/esm/plugins/indentation/index.js +26 -2
- package/dist/esm/plugins/indentation/pm-plugins/keymap.js +1 -1
- package/dist/esm/plugins/tasks-and-decisions/index.js +8 -1
- package/dist/esm/plugins/toolbar-lists-indentation/index.js +31 -38
- package/dist/esm/plugins/toolbar-lists-indentation/pm-plugins/indentation-buttons.js +11 -55
- package/dist/esm/plugins/toolbar-lists-indentation/ui/Toolbar.js +1 -2
- package/dist/esm/plugins/toolbar-lists-indentation/ui/ToolbarDropdown.js +1 -2
- package/dist/esm/plugins/toolbar-lists-indentation/ui/index.js +3 -2
- package/dist/esm/plugins/toolbar-lists-indentation/ui/onItemActivated.js +11 -15
- package/dist/esm/ui/ConfigPanel/ConfigPanel.js +2 -42
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/plugins/find-replace/ui/styles.d.ts +1 -0
- package/dist/types/plugins/indentation/commands/index.d.ts +1 -2
- package/dist/types/plugins/indentation/commands/utils.d.ts +1 -1
- package/dist/types/plugins/indentation/index.d.ts +14 -2
- package/dist/types/plugins/tasks-and-decisions/types.d.ts +3 -0
- package/dist/types/plugins/toolbar-lists-indentation/index.d.ts +18 -2
- package/dist/types/plugins/toolbar-lists-indentation/pm-plugins/indentation-buttons.d.ts +15 -11
- package/dist/types/plugins/toolbar-lists-indentation/ui/index.d.ts +2 -0
- package/dist/types/plugins/toolbar-lists-indentation/ui/onItemActivated.d.ts +2 -1
- package/dist/types/ui/ConfigPanel/ConfigPanel.d.ts +4 -3
- package/dist/types-ts4.5/plugins/find-replace/ui/styles.d.ts +1 -0
- package/dist/types-ts4.5/plugins/indentation/commands/index.d.ts +1 -2
- package/dist/types-ts4.5/plugins/indentation/commands/utils.d.ts +1 -1
- package/dist/types-ts4.5/plugins/indentation/index.d.ts +14 -2
- package/dist/types-ts4.5/plugins/tasks-and-decisions/types.d.ts +3 -0
- package/dist/types-ts4.5/plugins/toolbar-lists-indentation/index.d.ts +18 -2
- package/dist/types-ts4.5/plugins/toolbar-lists-indentation/pm-plugins/indentation-buttons.d.ts +15 -11
- package/dist/types-ts4.5/plugins/toolbar-lists-indentation/ui/index.d.ts +2 -0
- package/dist/types-ts4.5/plugins/toolbar-lists-indentation/ui/onItemActivated.d.ts +2 -1
- package/dist/types-ts4.5/ui/ConfigPanel/ConfigPanel.d.ts +4 -3
- package/package.json +2 -2
- package/dist/cjs/plugins/indentation/messages.js +0 -21
- package/dist/es2019/plugins/indentation/messages.js +0 -14
- package/dist/esm/plugins/indentation/messages.js +0 -14
- package/dist/types/plugins/indentation/messages.d.ts +0 -12
- package/dist/types-ts4.5/plugins/indentation/messages.d.ts +0 -12
- /package/dist/cjs/{utils → plugins/indentation}/getAttrsWithChangesRecorder.js +0 -0
- /package/dist/es2019/{utils → plugins/indentation}/getAttrsWithChangesRecorder.js +0 -0
- /package/dist/esm/{utils → plugins/indentation}/getAttrsWithChangesRecorder.js +0 -0
- /package/dist/types/{utils → plugins/indentation}/getAttrsWithChangesRecorder.d.ts +0 -0
- /package/dist/types-ts4.5/{utils → plugins/indentation}/getAttrsWithChangesRecorder.d.ts +0 -0
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
2
|
+
import type { IndentationButtonNode } from '../pm-plugins/indentation-buttons';
|
|
2
3
|
import type { ButtonName } from '../types';
|
|
3
4
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
4
5
|
import type toolbarListsIndentationPlugin from '../index';
|
|
5
|
-
export declare const onItemActivated: (pluginInjectionApi: ExtractInjectionAPI<typeof toolbarListsIndentationPlugin> | undefined) => ({ buttonName, editorView, }: {
|
|
6
|
+
export declare const onItemActivated: (pluginInjectionApi: ExtractInjectionAPI<typeof toolbarListsIndentationPlugin> | undefined, indentationStateNode: IndentationButtonNode | undefined) => ({ buttonName, editorView, }: {
|
|
6
7
|
buttonName: ButtonName;
|
|
7
8
|
editorView: EditorView;
|
|
8
9
|
}) => void;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
3
|
-
import type { ExtensionManifest
|
|
4
|
-
import
|
|
2
|
+
import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
3
|
+
import type { ExtensionManifest } from '@atlaskit/editor-common/extensions';
|
|
4
|
+
import { FieldDefinition, Parameters, OnSaveCallback } from '@atlaskit/editor-common/extensions';
|
|
5
|
+
import { FeatureFlags } from '@atlaskit/editor-common/types';
|
|
5
6
|
type Props = {
|
|
6
7
|
extensionManifest?: ExtensionManifest;
|
|
7
8
|
fields?: FieldDefinition[];
|
|
@@ -3,3 +3,4 @@ export declare const ruleStyles: import("@emotion/react").SerializedStyles;
|
|
|
3
3
|
export declare const wrapperStyles: import("@emotion/react").SerializedStyles;
|
|
4
4
|
export declare const sectionWrapperStyles: import("@emotion/react").SerializedStyles;
|
|
5
5
|
export declare const countStyles: import("@emotion/react").SerializedStyles;
|
|
6
|
+
export declare const countWrapperStyles: import("@emotion/react").SerializedStyles;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { Node as PmNode, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
2
2
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
3
|
-
import type { Command } from '
|
|
3
|
+
import type { Command } from '@atlaskit/editor-common/types';
|
|
4
4
|
import type { IndentationInputMethod } from './utils';
|
|
5
|
-
export declare const MAX_INDENTATION_LEVEL = 6;
|
|
6
5
|
export declare const isIndentationAllowed: (schema: Schema, node: PmNode) => boolean;
|
|
7
6
|
export declare const getIndentCommand: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => (inputMethod?: IndentationInputMethod) => Command;
|
|
8
7
|
export declare const getOutdentCommand: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => (inputMethod?: IndentationInputMethod) => Command;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { IndentationMarkAttributes } from '@atlaskit/adf-schema';
|
|
2
2
|
import type { INDENT_DIRECTION, INPUT_METHOD, EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
3
3
|
import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
4
|
-
import type { GetAttrsChange } from '
|
|
4
|
+
import type { GetAttrsChange } from '../getAttrsWithChangesRecorder';
|
|
5
5
|
export type PrevAttributes = IndentationMarkAttributes | undefined;
|
|
6
6
|
export type NewAttributes = IndentationMarkAttributes | undefined | false;
|
|
7
7
|
export type IndentationChangesOptions = {
|
|
@@ -1,8 +1,20 @@
|
|
|
1
|
-
import type { NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
1
|
+
import type { NextEditorPlugin, OptionalPlugin, Command } from '@atlaskit/editor-common/types';
|
|
2
2
|
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
3
|
-
|
|
3
|
+
import type { IndentationInputMethod } from './commands/utils';
|
|
4
|
+
type IndentationPluginSharedState = {
|
|
5
|
+
isIndentationAllowed: boolean;
|
|
6
|
+
indentDisabled: boolean;
|
|
7
|
+
outdentDisabled: boolean;
|
|
8
|
+
};
|
|
9
|
+
export type IndentationPlugin = NextEditorPlugin<'indentation', {
|
|
4
10
|
dependencies: [
|
|
5
11
|
OptionalPlugin<AnalyticsPlugin>
|
|
6
12
|
];
|
|
13
|
+
actions: {
|
|
14
|
+
indentParagraphOrHeading: (inputMethod: IndentationInputMethod) => Command;
|
|
15
|
+
outdentParagraphOrHeading: (inputMethod: IndentationInputMethod) => Command;
|
|
16
|
+
};
|
|
17
|
+
sharedState: IndentationPluginSharedState | undefined;
|
|
7
18
|
}>;
|
|
19
|
+
declare const indentationPlugin: IndentationPlugin;
|
|
8
20
|
export default indentationPlugin;
|
|
@@ -28,6 +28,9 @@ export interface TaskDecisionPluginOptions extends LongPressSelectionPluginOptio
|
|
|
28
28
|
}
|
|
29
29
|
export type TaskAndDecisionsSharedState = {
|
|
30
30
|
focusedTaskItemLocalId: string | null;
|
|
31
|
+
indentDisabled: boolean;
|
|
32
|
+
outdentDisabled: boolean;
|
|
33
|
+
isInsideTask: boolean;
|
|
31
34
|
};
|
|
32
35
|
export type TaskAndDecisionsPlugin = NextEditorPlugin<'taskDecision', {
|
|
33
36
|
pluginConfiguration: TaskDecisionPluginOptions | undefined;
|
|
@@ -1,19 +1,35 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { FeatureFlags, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
2
3
|
import type { FeatureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
|
|
3
4
|
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
4
5
|
import type { ListPlugin } from '@atlaskit/editor-plugin-list';
|
|
5
6
|
import type { IndentationButtons } from './pm-plugins/indentation-buttons';
|
|
7
|
+
import type { ToolbarUiComponentFactoryParams } from '../../types';
|
|
8
|
+
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
9
|
+
import type { IndentationPlugin } from '../indentation';
|
|
10
|
+
import type { TaskAndDecisionsPlugin } from '../tasks-and-decisions/types';
|
|
6
11
|
type Config = {
|
|
7
12
|
showIndentationButtons: boolean;
|
|
8
13
|
allowHeadingAndParagraphIndentation: boolean;
|
|
9
14
|
};
|
|
10
|
-
|
|
15
|
+
type ToolbarListsIndentationPlugin = NextEditorPlugin<'toolbarListsIndentation', {
|
|
11
16
|
pluginConfiguration: Config;
|
|
12
17
|
dependencies: [
|
|
13
18
|
FeatureFlagsPlugin,
|
|
14
19
|
ListPlugin,
|
|
20
|
+
OptionalPlugin<IndentationPlugin>,
|
|
21
|
+
OptionalPlugin<TaskAndDecisionsPlugin>,
|
|
15
22
|
OptionalPlugin<AnalyticsPlugin>
|
|
16
23
|
];
|
|
17
24
|
sharedState: IndentationButtons | undefined;
|
|
18
25
|
}>;
|
|
26
|
+
declare const toolbarListsIndentationPlugin: ToolbarListsIndentationPlugin;
|
|
27
|
+
type PrimaryToolbarComponentProps = Pick<ToolbarUiComponentFactoryParams, 'editorView' | 'popupsMountPoint' | 'popupsBoundariesElement' | 'popupsScrollableElement' | 'disabled' | 'isToolbarReducedSpacing'> & {
|
|
28
|
+
featureFlags: FeatureFlags;
|
|
29
|
+
isSmall: boolean;
|
|
30
|
+
showIndentationButtons?: boolean;
|
|
31
|
+
pluginInjectionApi: ExtractInjectionAPI<typeof toolbarListsIndentationPlugin> | undefined;
|
|
32
|
+
allowHeadingAndParagraphIndentation: boolean;
|
|
33
|
+
};
|
|
34
|
+
export declare function PrimaryToolbarComponent({ featureFlags, popupsMountPoint, popupsBoundariesElement, popupsScrollableElement, isSmall, isToolbarReducedSpacing, disabled, editorView, showIndentationButtons, pluginInjectionApi, allowHeadingAndParagraphIndentation, }: PrimaryToolbarComponentProps): JSX.Element | null;
|
|
19
35
|
export default toolbarListsIndentationPlugin;
|
package/dist/types-ts4.5/plugins/toolbar-lists-indentation/pm-plugins/indentation-buttons.d.ts
CHANGED
|
@@ -1,17 +1,21 @@
|
|
|
1
|
+
import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
1
2
|
import { PluginKey } from '@atlaskit/editor-prosemirror/state';
|
|
2
|
-
|
|
3
|
-
import type { Dispatch } from '../../../event-dispatcher';
|
|
4
|
-
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
5
|
-
import type toolbarListsIndentationPlugin from '../index';
|
|
3
|
+
export type IndentationButtonNode = null | 'paragraph_heading' | 'list' | 'taskList';
|
|
6
4
|
export interface IndentationButtons {
|
|
7
5
|
indentDisabled: boolean;
|
|
8
6
|
outdentDisabled: boolean;
|
|
9
|
-
node:
|
|
7
|
+
node: IndentationButtonNode;
|
|
10
8
|
}
|
|
11
9
|
export declare const pluginKey: PluginKey<IndentationButtons>;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
10
|
+
interface TaskDecisionState {
|
|
11
|
+
isInsideTask: boolean;
|
|
12
|
+
indentDisabled: boolean;
|
|
13
|
+
outdentDisabled: boolean;
|
|
14
|
+
}
|
|
15
|
+
interface IndentationState {
|
|
16
|
+
isIndentationAllowed: boolean;
|
|
17
|
+
indentDisabled: boolean;
|
|
18
|
+
outdentDisabled: boolean;
|
|
19
|
+
}
|
|
20
|
+
export declare function getIndentationButtonsState(editorState: EditorState, allowHeadingAndParagraphIndentation: boolean, taskDecisionState: TaskDecisionState | undefined, indentationState: IndentationState | undefined, isInsideListItem: ((tr: Transaction) => boolean | undefined) | undefined): IndentationButtons;
|
|
21
|
+
export {};
|
|
@@ -3,6 +3,7 @@ import { jsx } from '@emotion/react';
|
|
|
3
3
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
4
|
import type { ExtractInjectionAPI, FeatureFlags } from '@atlaskit/editor-common/types';
|
|
5
5
|
import type toolbarListsIndentationPlugin from '../index';
|
|
6
|
+
import type { IndentationButtonNode } from '../pm-plugins/indentation-buttons';
|
|
6
7
|
export interface Props {
|
|
7
8
|
editorView: EditorView;
|
|
8
9
|
featureFlags: FeatureFlags;
|
|
@@ -19,6 +20,7 @@ export interface Props {
|
|
|
19
20
|
showIndentationButtons?: boolean;
|
|
20
21
|
indentDisabled?: boolean;
|
|
21
22
|
outdentDisabled?: boolean;
|
|
23
|
+
indentationStateNode?: IndentationButtonNode;
|
|
22
24
|
pluginInjectionApi?: ExtractInjectionAPI<typeof toolbarListsIndentationPlugin> | undefined;
|
|
23
25
|
}
|
|
24
26
|
export default function ToolbarListsIndentation(props: Props): jsx.JSX.Element;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
2
|
+
import type { IndentationButtonNode } from '../pm-plugins/indentation-buttons';
|
|
2
3
|
import type { ButtonName } from '../types';
|
|
3
4
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
4
5
|
import type toolbarListsIndentationPlugin from '../index';
|
|
5
|
-
export declare const onItemActivated: (pluginInjectionApi: ExtractInjectionAPI<typeof toolbarListsIndentationPlugin> | undefined) => ({ buttonName, editorView, }: {
|
|
6
|
+
export declare const onItemActivated: (pluginInjectionApi: ExtractInjectionAPI<typeof toolbarListsIndentationPlugin> | undefined, indentationStateNode: IndentationButtonNode | undefined) => ({ buttonName, editorView, }: {
|
|
6
7
|
buttonName: ButtonName;
|
|
7
8
|
editorView: EditorView;
|
|
8
9
|
}) => void;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
3
|
-
import type { ExtensionManifest
|
|
4
|
-
import
|
|
2
|
+
import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
3
|
+
import type { ExtensionManifest } from '@atlaskit/editor-common/extensions';
|
|
4
|
+
import { FieldDefinition, Parameters, OnSaveCallback } from '@atlaskit/editor-common/extensions';
|
|
5
|
+
import { FeatureFlags } from '@atlaskit/editor-common/types';
|
|
5
6
|
type Props = {
|
|
6
7
|
extensionManifest?: ExtensionManifest;
|
|
7
8
|
fields?: FieldDefinition[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "189.3.
|
|
3
|
+
"version": "189.3.24",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@atlaskit/code": "^14.6.0",
|
|
53
53
|
"@atlaskit/date": "^0.10.0",
|
|
54
54
|
"@atlaskit/datetime-picker": "^12.10.0",
|
|
55
|
-
"@atlaskit/editor-common": "^76.
|
|
55
|
+
"@atlaskit/editor-common": "^76.21.0",
|
|
56
56
|
"@atlaskit/editor-json-transformer": "^8.10.0",
|
|
57
57
|
"@atlaskit/editor-markdown-transformer": "^5.2.5",
|
|
58
58
|
"@atlaskit/editor-plugin-analytics": "^0.3.0",
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.messages = void 0;
|
|
7
|
-
var _reactIntlNext = require("react-intl-next");
|
|
8
|
-
// Common Translations will live here
|
|
9
|
-
|
|
10
|
-
var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
11
|
-
indent: {
|
|
12
|
-
id: 'fabric.editor.indent',
|
|
13
|
-
defaultMessage: 'Indent',
|
|
14
|
-
description: 'Indent a list item, paragraph or heading'
|
|
15
|
-
},
|
|
16
|
-
outdent: {
|
|
17
|
-
id: 'fabric.editor.outdent',
|
|
18
|
-
defaultMessage: 'Outdent',
|
|
19
|
-
description: 'Outdent a list item, paragraph or heading'
|
|
20
|
-
}
|
|
21
|
-
});
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// Common Translations will live here
|
|
2
|
-
import { defineMessages } from 'react-intl-next';
|
|
3
|
-
export const messages = defineMessages({
|
|
4
|
-
indent: {
|
|
5
|
-
id: 'fabric.editor.indent',
|
|
6
|
-
defaultMessage: 'Indent',
|
|
7
|
-
description: 'Indent a list item, paragraph or heading'
|
|
8
|
-
},
|
|
9
|
-
outdent: {
|
|
10
|
-
id: 'fabric.editor.outdent',
|
|
11
|
-
defaultMessage: 'Outdent',
|
|
12
|
-
description: 'Outdent a list item, paragraph or heading'
|
|
13
|
-
}
|
|
14
|
-
});
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// Common Translations will live here
|
|
2
|
-
import { defineMessages } from 'react-intl-next';
|
|
3
|
-
export var messages = defineMessages({
|
|
4
|
-
indent: {
|
|
5
|
-
id: 'fabric.editor.indent',
|
|
6
|
-
defaultMessage: 'Indent',
|
|
7
|
-
description: 'Indent a list item, paragraph or heading'
|
|
8
|
-
},
|
|
9
|
-
outdent: {
|
|
10
|
-
id: 'fabric.editor.outdent',
|
|
11
|
-
defaultMessage: 'Outdent',
|
|
12
|
-
description: 'Outdent a list item, paragraph or heading'
|
|
13
|
-
}
|
|
14
|
-
});
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|