@atlaskit/editor-plugin-code-block
Version:
Code block plugin for @atlaskit/editor-core
11 lines (10 loc) • 477 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.getAutoDetectPluginState = exports.autoDetectPluginKey = void 0;
var _state = require("@atlaskit/editor-prosemirror/state");
var autoDetectPluginKey = exports.autoDetectPluginKey = new _state.PluginKey('codeBlockAutoDetectPlugin');
var getAutoDetectPluginState = exports.getAutoDetectPluginState = function getAutoDetectPluginState(state) {
return autoDetectPluginKey.getState(state);
};