easy-markdown-editor icon indicating copy to clipboard operation
easy-markdown-editor copied to clipboard

Hide 'upload-image' icon

Open Annajoe96 opened this issue 2 years ago • 0 comments

Describe the bug I have been trying to hide the upload image icon ,which is possible for the heading icon but not this 'upload-image'.

To Reproduce Steps to reproduce the behavior: `

import EasyMDE from "react-simplemde-editor";
import "easymde/dist/easymde.min.css";
import PropTypes from 'prop-types';

const MarkdownEditorField = ({ className, value, onChange }) => {
  return (
    <div data-color-mode="light">
      <EasyMDE
        className={className}
        value={value}
        placeholder="Write something here..."
        onChange={onChange}
        options={{
          hideIcons: ['upload-image']
        }}
      />
    </div>
  );
};

`

Annajoe96 avatar Dec 08 '22 07:12 Annajoe96