@atlaskit/editor-plugin-toolbar-lists-indentation
Version:
Toolbar lists and indentation plugin for @atlaskit/editor-core
19 lines (18 loc) • 703 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.getListsIndentationGroupForInlineToolbar = void 0;
var _keys = require("@atlaskit/editor-common/toolbar/keys");
var _rank = require("@atlaskit/editor-common/toolbar/rank");
var getListsIndentationGroupForInlineToolbar = exports.getListsIndentationGroupForInlineToolbar = function getListsIndentationGroupForInlineToolbar() {
return [{
type: _keys.LISTS_INDENTATION_GROUP_INLINE.type,
key: _keys.LISTS_INDENTATION_GROUP_INLINE.key,
parents: [{
type: _keys.TEXT_SECTION.type,
key: _keys.TEXT_SECTION.key,
rank: _rank.TEXT_SECTION_RANK[_keys.LISTS_INDENTATION_GROUP.key]
}]
}];
};