@atlaskit/editor-plugin-toolbar-lists-indentation
Version:
Toolbar lists and indentation plugin for @atlaskit/editor-core
70 lines (52 loc) • 1.93 kB
Markdown
<!-- API Report Version: 2.3 -->
## API Report File for "@atlaskit/editor-plugin-toolbar-lists-indentation"
> Do not edit this file. This report is auto-generated using
> [API Extractor](https://api-extractor.com/).
> [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
### Table of contents
- [Main Entry Types](#main-entry-types)
- [Peer Dependencies](#peer-dependencies)
### Main Entry Types
<!--SECTION START: Main Entry Types-->
```ts
/// <reference types="react" />
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
import type { FeatureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
import type { IndentationPlugin } from '@atlaskit/editor-plugin-indentation';
import type { ListPlugin } from '@atlaskit/editor-plugin-list';
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
import type { OptionalPlugin } from '@atlaskit/editor-common/types';
import type { TasksAndDecisionsPlugin } from '@atlaskit/editor-plugin-tasks-and-decisions';
// @public (undocumented)
type Config = {
showIndentationButtons: boolean;
allowHeadingAndParagraphIndentation: boolean;
};
// @public (undocumented)
export type ToolbarListsIndentationPlugin = NextEditorPlugin<
'toolbarListsIndentation',
{
pluginConfiguration: Config;
dependencies: [
OptionalPlugin<FeatureFlagsPlugin>,
ListPlugin,
OptionalPlugin<IndentationPlugin>,
OptionalPlugin<TasksAndDecisionsPlugin>,
OptionalPlugin<AnalyticsPlugin>,
];
}
>;
// @public (undocumented)
export const toolbarListsIndentationPlugin: ToolbarListsIndentationPlugin;
// (No @packageDocumentation comment for this package)
```
<!--SECTION END: Main Entry Types-->
### Peer Dependencies
<!--SECTION START: Peer Dependencies-->
```json
{
"react": "^16.8.0",
"react-intl-next": "npm:react-intl@^5.18.1"
}
```
<!--SECTION END: Peer Dependencies-->