UNPKG

@atlaskit/editor-plugin-mentions

Version:

Mentions plugin for @atlaskit/editor-core

2 lines 251 B
import { fg } from '@atlaskit/platform-feature-flags/fg'; export const isMentionTypeAheadEnabled = canOpenTypeAhead => (canOpenTypeAhead === null || canOpenTypeAhead === void 0 ? void 0 : canOpenTypeAhead()) !== false || !fg('editor-disable-feature');