UNPKG

@atlaskit/editor-plugin-mentions

Version:

Mentions plugin for @atlaskit/editor-core

4 lines 296 B
import { fg } from '@atlaskit/platform-feature-flags/fg'; export var isMentionTypeAheadEnabled = function isMentionTypeAheadEnabled(canOpenTypeAhead) { return (canOpenTypeAhead === null || canOpenTypeAhead === void 0 ? void 0 : canOpenTypeAhead()) !== false || !fg('editor-disable-feature'); };