export const initTiny = (_batchId) => ({
  skin: false,
  height: 500,
  menubar: 'tools',
  directionality: 'rtl',
  language: 'fa_IR',
  plugins: [
    'textcolor colorpicker advlist autolink lists link image charmap print preview anchor',
    'searchreplace visualblocks code fullscreen',
    'insertdatetime media table paste code wordcount directionality link',
  ],
  toolbar:
    'undo redo | fontsizeselect formatselect | bold italic backcolor | \
        alignleft aligncenter alignright alignjustify | \
        bullist numlist outdent indent | removeformat | image | ltr rtl | link | forecolor backcolor | table tabledelete | tableprops tablerowprops tablecellprops',
  // 'fontselect'
  // font_formats : "IranYekan=arial,helvetica,sans-serif;Courier New=courier new,courier,monospace;AkrutiKndPadmini=Akpdmi-n",
  fontsize_formats: '10pt 12pt 14pt 16pt 18pt 20pt 22pt 24pt 36pt 60pt 72pt',
  images_upload_url: '/api/v1/media',
  relative_urls: false,
  remove_script_host: false,
  document_base_url: window.location.origin,
  images_upload_credentials: true,
  automatic_uploads: false,
  file_picker_types: 'file image media',
  content_style: 'body { font-family: "IranYekan-Regular", "Montserrat-Regular" !important; }',
  images_upload_handler: (_blobInfo, _success, _failure) => {},
})
