UNPKG

@atlaskit/editor-plugin-media-insert

Version:

Media Insert plugin for @atlaskit/editor-core

44 lines (31 loc) 2.33 kB
# Editor Plugin Media Insert Media Insert 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 Insert plugin provides a user interface for inserting media into the Atlassian Editor. It offers flexible options for adding media through local file uploads or external URLs, with support for customizable validation and configuration. ## Key features - **Local file uploads** - Upload media files from your local device through an integrated file picker - **External URL insertion** - Insert media using external URLs with optional upload to media service - **Quick insert integration** - Access media insertion via the quick insert menu with keyword search support - **Flexible configuration** - Configure URL-only mode, custom validation, and helper messages - **Analytics tracking** - Track media insertion events and user interactions with the picker - **Popup interface** - Intuitive tabbed interface for selecting insertion method ## Install --- - **Install** - *yarn add @atlaskit/editor-plugin-media-insert* - **npm** - [@atlaskit/editor-plugin-media-insert](https://www.npmjs.com/package/@atlaskit/editor-plugin-media-insert) - **Source** - [Bitbucket](https://bitbucket.org/atlassian/atlassian-frontend/src/master/packages/editor/editor-plugin-media-insert) - **Bundle** - [unpkg.com](https://unpkg.com/@atlaskit/editor-plugin-media-insert/dist/) ## Usage --- **Internal use only** @atlaskit/editor-plugin-media-insert 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-insert](https://atlaskit.atlassian.com/packages/editor/editor-plugin-media-insert) 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#License) for more licensing information.