draft-js-modifiers
Version:
Modular state modifiers for Draft.js
15 lines (11 loc) • 349 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _draftJs = require("draft-js");
var toggleBlockType = function toggleBlockType(editorState, blockType) {
return _draftJs.RichUtils.toggleBlockType(editorState, blockType);
};
var _default = toggleBlockType;
exports.default = _default;