import { createComboboxPlugin as i } from "@udecode/plate-combobox";
import { createEmojiPlugin as m } from "@udecode/plate-emoji";
import { Plugin as t } from "../Plugin.es.js";
import { EmojiButton as n } from "./EmojiButton.es.js";
import { emojiPlugin as u } from "./config.es.js";
import { EMOJI_PLUGIN as e } from "./id.es.js";
import { Position as o } from "../../components/EditorPositioningWrapper/types.es.js";
class E extends t {
  constructor(r) {
    super(e, {
      button: n,
      showIn: [o.BOTTOM, o.TOP],
      ...r
    });
  }
  plugins() {
    return [i(), m(u)];
  }
}
export {
  E as EmojiPlugin
};
//# sourceMappingURL=index.es.js.map
