UNPKG

@cairn214/fluent-editor

Version:

A rich text editor based on Quill 2.0, which extends rich modules and formats on the basis of Quill. It's powerful and out-of-the-box.

20 lines (19 loc) 491 B
"use strict"; Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); function createEmoji(emojiArr) { const emojiList = []; emojiArr.forEach((emojiItem) => { const [name, unicode, shortname, codeDecimal, category, emojiOrder] = emojiItem; emojiList.push({ name, unicode, shortname, codeDecimal, category, emojiOrder }); }); return emojiList; } exports.createEmoji = createEmoji; //# sourceMappingURL=utils.cjs.js.map