function n(t) {
  return [
    {
      type: "mention",
      attrs: { "data-id": t, label: t }
    },
    {
      type: "text",
      text: " "
    }
  ];
}
function r(t, e) {
  console.log("Inserting content %s", e), t.chain().insertContent(e, {
    parseOptions: {
      preserveWhitespace: "full"
    }
  }).run();
}
export {
  n as getEditorNodeFromField,
  r as insertInEditor
};
//# sourceMappingURL=editor-utils.js.map
