{"id":22404623,"url":"https://github.com/xlsdg/react-simplemde-v1","last_synced_at":"2025-07-31T17:32:36.280Z","repository":{"id":57344816,"uuid":"75811524","full_name":"xlsdg/react-simplemde-v1","owner":"xlsdg","description":"React component wrap for SimpleMDE Markdown Editor(v1.x)","archived":false,"fork":false,"pushed_at":"2018-12-01T12:54:42.000Z","size":157,"stargazers_count":8,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-09T14:06:53.824Z","etag":null,"topics":["react","react-component","react-simplemde","reactjs","simplemde"],"latest_commit_sha":null,"homepage":"https://simplemde.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xlsdg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-07T07:36:02.000Z","updated_at":"2021-12-06T21:01:14.000Z","dependencies_parsed_at":"2022-09-12T07:10:12.240Z","dependency_job_id":null,"html_url":"https://github.com/xlsdg/react-simplemde-v1","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlsdg%2Freact-simplemde-v1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlsdg%2Freact-simplemde-v1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlsdg%2Freact-simplemde-v1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlsdg%2Freact-simplemde-v1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xlsdg","download_url":"https://codeload.github.com/xlsdg/react-simplemde-v1/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228275007,"owners_count":17895008,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["react","react-component","react-simplemde","reactjs","simplemde"],"created_at":"2024-12-05T10:14:12.834Z","updated_at":"2024-12-05T10:14:13.648Z","avatar_url":"https://github.com/xlsdg.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-simplemde-v1\n\n\u003e React.js(v16.x+) component wrap for SimpleMDE Markdown Editor(v1.x+)\n\n## Installation\n\n```\n$ npm install --save simplemde react-simplemde-v1\n```\n\n## Usage\n\n``` javascript\nimport ISimpleMDE from 'react-simplemde-v1';\nimport 'simplemde/dist/simplemde.min.css';\n\nexport default () =\u003e {\n  const option = {};\n\n  const onReady = (instance) =\u003e console.log(instance.value());\n\n  const onEvents = {\n    'change': function() {\n      // the 'this' variable can get SimpleMDE instance\n      console.log(this.value());\n    }\n  };\n\n  return (\n    \u003cISimpleMDE\n      option={option}\n      text={'Hello World!!!'}\n      onReady={onReady}\n      onEvents={onEvents}\n    /\u003e\n  );\n}\n```\n\n## propTypes\n\n``` javascript\n  className:  React.PropTypes.string,\n  style:      React.PropTypes.object,\n  option:     React.PropTypes.object.isRequired,\n  onReady:    React.PropTypes.func,\n  text:       React.PropTypes.string,\n  onEvents:   React.PropTypes.object\n```\n\n[Read More](https://github.com/NextStepWebs/simplemde-markdown-editor)\n\n## defaultProps\n\n``` javascript\n  className: 'react-simplemde',\n  style: {\n    width: '100%',\n    height: '100%'\n  },\n  text: '',\n  onReady: instance =\u003e {},\n  onEvents: {}\n```\n\n# License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxlsdg%2Freact-simplemde-v1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxlsdg%2Freact-simplemde-v1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxlsdg%2Freact-simplemde-v1/lists"}