@atlaskit/editor-plugin-connectivity
v8.0.3
Published
Connectivity plugin for @atlaskit/editor-core
Readme
Editor Plugin Connectivity
Connectivity 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 Connectivity plugin provides online and offline connectivity detection and management for the Atlassian Editor. It tracks network connectivity status using browser events and exposes commands to override or customize the connectivity mode.
Key features
- Automatic connectivity detection - Monitors network status using browser online/offline events
- Multiple connectivity modes - Supports online, offline, collab-offline, and internet-offline modes
- Custom mode override - Programmatically set connectivity mode via the setMode command
- Shared state access - Provides current connectivity mode through plugin shared state
- Mode helper utility - Includes isOfflineMode utility for checking offline states
Install
- Install - yarn add @atlaskit/editor-plugin-connectivity
- npm - @atlaskit/editor-plugin-connectivity
- Source - Bitbucket
- Bundle - unpkg.com
Usage
Internal use only
@atlaskit/editor-plugin-connectivity 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 connectivity for documentation and examples for this package.
Support
For internal Atlassian, visit the slack channel #help-editor for support or visit go/editor-help to submit a bug.
License
Please see Atlassian Frontend - License for more licensing information.
