"use client";
import { jsx } from 'react/jsx-runtime';
import { usePluginOverrides } from '@btst/stack/context';
import { BLOG_LOCALIZATION } from '../../localization/index.mjs';
import { MarkdownEditor } from './markdown-editor.mjs';

function MarkdownEditorWithOverrides(props) {
  const { uploadImage, localization } = usePluginOverrides("blog", {
    localization: BLOG_LOCALIZATION
  });
  return /* @__PURE__ */ jsx(
    MarkdownEditor,
    {
      ...props,
      uploadImage,
      placeholder: localization?.BLOG_FORMS_EDITOR_PLACEHOLDER
    }
  );
}

export { MarkdownEditorWithOverrides };
