UNPKG

@atlaskit/editor-plugin-media

Version:

Media plugin for @atlaskit/editor-core

46 lines (33 loc) 2.46 kB
# Editor Plugin Media Media plugin for @atlaskit/editor-core **Note:** This component is designed for internal Atlassian development. External contributors will be able to use this component but will not be able to submit issues. ## Overview The Media plugin provides comprehensive media handling capabilities for the Atlassian Editor. It integrates with `@atlaskit/media-client` and `@atlaskit/media-picker` to enable media insertion, editing, viewing, and management within the editor. The plugin supports multiple media types including images, videos, and documents with features like resizing, linking, alt text editing, and media viewing. ## Key features - **Media insertion** - Insert media from various sources including uploads, dropzone, clipboard, and media picker - **Media viewer** - View media in a lightbox with full media client capabilities - **Alt text editing** - Add and edit alternative text for media accessibility - **Media linking** - Link media to external URLs - **Pixel resizing** - Resize media with pixel-level precision - **Multiple media types** - Support for media single, media group, and inline media - **Media picker integration** - Flexible media picker with browser, dropzone, and clipboard support - **Media captions** - Add captions to video content ## Install --- - **Install** - *yarn add @atlaskit/editor-plugin-media* - **npm** - [@atlaskit/editor-plugin-media](https://www.npmjs.com/package/@atlaskit/editor-plugin-media) - **Source** - [Bitbucket](https://bitbucket.org/atlassian/atlassian-frontend/src/master/packages/editor/editor-plugin-media) - **Bundle** - [unpkg.com](https://unpkg.com/@atlaskit/editor-plugin-media/dist/) ## Usage --- **Internal use only** @atlaskit/editor-plugin-media is intended for internal use by the @atlaskit/editor-core and as a plugin dependency of the Editor within your product. Direct use of this component is not supported. Please see [Atlaskit - Editor plugin media](https://atlaskit.atlassian.com/packages/editor/editor-plugin-media) for documentation and examples for this package. ## Support --- For internal Atlassian, visit the slack channel [#help-editor](https://atlassian.slack.com/archives/CFG3PSQ9E) for support or visit [go/editor-help](https://go/editor-help) to submit a bug. ## License --- Please see [Atlassian Frontend - License](https://hello.atlassian.net/wiki/spaces/AF/pages/2589099144/Documentation#Platform-License) for more licensing information.