const r = {
  codeSample: () => import("./CodeSamplePlugin.native-DMbEdO9j.mjs").then((e) => e.CodeSamplePlugin()),
  checklist: () => import("./ChecklistPlugin.native-Dccs3nLe.mjs").then((e) => e.ChecklistPlugin()),
  textAlignment: () => import("./TextAlignmentPlugin.native-CQIs1m7R.mjs").then((e) => e.TextAlignmentPlugin()),
  indent: () => import("./IndentPlugin.native-CbFugPoi.mjs").then((e) => e.IndentPlugin()),
  direction: () => import("./DirectionPlugin.native-Be7wCzkI.mjs").then((e) => e.DirectionPlugin()),
  textColor: () => import("./TextColorPlugin.native-D6SmTglm.mjs").then((e) => e.TextColorPlugin()),
  backgroundColor: () => import("./BackgroundColorPlugin.native-Dip5uqTg.mjs").then((e) => e.BackgroundColorPlugin()),
  fontSize: () => import("./FontSizePlugin.native-DkLMLPue.mjs").then((e) => e.FontSizePlugin()),
  fontFamily: () => import("./FontFamilyPlugin.native-BzS_9qbM.mjs").then((e) => e.FontFamilyPlugin()),
  lineHeight: () => import("./LineHeightPlugin.native-CWQT2FIa.mjs").then((e) => e.LineHeightPlugin()),
  capitalization: () => import("./CapitalizationPlugin.native-DOMsh5R7.mjs").then((e) => e.CapitalizationPlugin()),
  link: () => import("./LinkPlugin.native-BdAOV-iu.mjs").then((e) => e.LinkPlugin()),
  table: () => import("./TablePlugin.native-EEWXn1-s.mjs").then((e) => e.TablePlugin()),
  anchor: () => import("./AnchorPlugin.native-7es9PVZ9.mjs").then((e) => e.AnchorPlugin()),
  embedIframe: () => import("./EmbedIframePlugin.native-ifr9KLdN.mjs").then((e) => e.EmbedIframePlugin()),
  math: () => import("./MathPlugin.native-DE_ii-LA.mjs").then((e) => e.MathPlugin()),
  image: () => import("./MediaManagerPlugin.native-DaYFDzNM.mjs").then((e) => e.MediaManagerPlugin()),
  mergeTag: () => import("./MergeTagPlugin.native-CrxyThyn.mjs").then((e) => e.MergeTagPlugin()),
  pageBreak: () => import("./PageBreakPlugin.native-DDjcDyRW.mjs").then((e) => e.PageBreakPlugin()),
  print: () => import("./PrintPlugin.native-BUpm52VJ.mjs").then((e) => e.PrintPlugin()),
  preview: () => import("./PreviewPlugin.native-DBvfpmIv.mjs").then((e) => e.PreviewPlugin()),
  specialCharacters: () => import("./SpecialCharactersPlugin.native-x7a2SWXc.mjs").then((e) => e.SpecialCharactersPlugin()),
  spellCheck: () => import("./SpellCheckPlugin.native-B7yTh0iE.mjs").then((e) => e.SpellCheckPlugin()),
  emojis: () => import("./EmojisPlugin.native-D6mJSnSR.mjs").then((e) => e.EmojisPlugin()),
  a11yChecker: () => import("./A11yCheckerPlugin.native-CZKpi3uF.mjs").then((e) => e.A11yCheckerPlugin()),
  comments: () => import("./CommentsPlugin.native-2zQV8Ia4.mjs").then((e) => e.CommentsPlugin()),
  "document-manager": () => import("./DocumentManagerPlugin.native-BvZL5CSG.mjs").then((e) => e.DocumentManagerPlugin()),
  fullscreen: () => import("./FullscreenPlugin.native-ChXyxeNw.mjs").then((e) => e.FullscreenPlugin()),
  template: () => import("./TemplatePlugin.native-BlSn1c9h.mjs").then((e) => e.TemplatePlugin()),
  footnote: () => import("./FootnotePlugin.native-BciVc9W6.mjs").then((e) => e.FootnotePlugin())
};
async function a(e) {
  var t, i;
  const n = ((t = window.EditoraCore) == null ? void 0 : t.__globalPluginLoader) || ((i = window.Editora) == null ? void 0 : i.__globalPluginLoader);
  if (!n) {
    console.warn("Editora plugin loader not found. Make sure to load the core bundle first.");
    return;
  }
  Object.entries(r).forEach(([o, l]) => {
    n.getRegisteredPluginNames().includes(o) || n.register(o, l);
  }), await n.loadMultiple(e);
}
function g() {
  return Object.keys(r);
}
typeof window != "undefined" && (window.EditoraPlugins = {
  loadPlugins: a,
  getAvailablePlugins: g
});
export {
  g as getAvailablePlugins,
  a as loadPlugins
};
//# sourceMappingURL=plugin-loader.js.map
