UNPKG

@atlaskit/editor-plugin-mentions

Version:

Mentions plugin for @atlaskit/editor-core

10 lines (9 loc) 458 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isMentionTypeAheadEnabled = void 0; var _fg = require("@atlaskit/platform-feature-flags/fg"); var isMentionTypeAheadEnabled = exports.isMentionTypeAheadEnabled = function isMentionTypeAheadEnabled(canOpenTypeAhead) { return (canOpenTypeAhead === null || canOpenTypeAhead === void 0 ? void 0 : canOpenTypeAhead()) !== false || !(0, _fg.fg)('editor-disable-feature'); };