// ============================================================
// Shim — editor inline REMOVIDO.
// Mantém os contratos de componentes (EditModeProvider, Editable,
// EditableLink) como passthrough para o site continuar funcionando,
// porém SEM nenhuma UI de edição no front-end.
// A edição agora é feita exclusivamente pelo painel admin.
// ============================================================
const EditModeProvider = ({ children }) => {children};
const Editable = (props) => {
const { as = 'span', children, style, className, onClick } = props;
const Comp = as;
return {children};
};
const EditableLink = (props) => {
const { href, children, style, className, target, rel } = props;
return {children};
};
const useEdit = () => null;
window.BrodnetEdit = { EditModeProvider, Editable, EditableLink, useEdit };