{"id":21020967,"url":"https://github.com/janwirth/vue-medium-editor","last_synced_at":"2025-04-05T23:12:28.330Z","repository":{"id":65379082,"uuid":"70047290","full_name":"janwirth/vue-medium-editor","owner":"janwirth","description":"✍️   A MediumEditor component for Vue 2. Demo:","archived":false,"fork":false,"pushed_at":"2020-06-09T17:06:49.000Z","size":501,"stargazers_count":406,"open_issues_count":5,"forks_count":64,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-04-14T21:08:24.401Z","etag":null,"topics":["medium-editor","vue"],"latest_commit_sha":null,"homepage":"https://franzskuffka.github.io/vue-medium-editor/","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/janwirth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-10-05T09:41:06.000Z","updated_at":"2024-02-09T00:03:11.000Z","dependencies_parsed_at":"2023-01-20T08:25:16.148Z","dependency_job_id":null,"html_url":"https://github.com/janwirth/vue-medium-editor","commit_stats":null,"previous_names":["franzskuffka/vue-medium-editor"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janwirth%2Fvue-medium-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janwirth%2Fvue-medium-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janwirth%2Fvue-medium-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janwirth%2Fvue-medium-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/janwirth","download_url":"https://codeload.github.com/janwirth/vue-medium-editor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247411239,"owners_count":20934653,"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":["medium-editor","vue"],"created_at":"2024-11-19T10:44:09.073Z","updated_at":"2025-04-05T23:12:28.315Z","avatar_url":"https://github.com/janwirth.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue2-medium-editor\nA [medium-editor](https://github.com/yabwe/medium-editor) component for Vue2. For Vue1 checkout branch 1.0.\n\n[![Standard - JavaScript Style Guide](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)\n\n## Installation\n\n```bash\n#bash\nnpm i --save vue2-medium-editor\n```\n\n## Usage\n```javascript\n//app.js\nimport editor from 'vue2-medium-editor'\nimport Vue from 'vue'\n\nnew Vue {\n  ...\n  components: {\n    'medium-editor': editor\n  }\n}\n```\n```vue\n\u003c!-- index.html --\u003e\n\u003cmedium-editor :text='myText' :options='options' custom-tag='h2' v-on:edit='applyTextEdit'\u003e\n```\n\n\u003e Full usage example at [github.com/FranzSkuffka/vue-medium-editor/tree/gh-pages](https://github.com/FranzSkuffka/vue-medium-editor/tree/gh-pages)\n\nA list of available options can be found in the [documentation of MediumEditor](https://github.com/yabwe/medium-editor#core-options).\nOptionally you may use the standalone builds from `dist` which have medium-editor.js included.\n\n\u003e **Make sure you include the required [CSS](https://github.com/yabwe/medium-editor/tree/master/dist/css).**\n\n### Custom buttons and extensions\nTo create extensions for the MediumEditor you will need the original MediumEditor object, which\nyou can get like this:\n\n```javascript\nvar HighlightButton = VueMediumEditor.MediumEditor.Extension.extend({\n    // ...\n});\n```\n\nSee [Extensions](https://github.com/yabwe/medium-editor/tree/master/src/js/extensions)\nsection of the MediumEditor's wiki for details.\n\n## Bundling \u0026 Minification\n\nTo generate the standalone bundle\n```bash\nnpm i --save-dev\nnpm run prepublish\n```\n\n## Known Issues\nIf you encounter issues with the link button and the events it emits, please refer to https://github.com/yabwe/medium-editor/issues/1153.\n\n## Contributors\n\n- [gcoda](https://github.com/gcoda)\n- [seguer](https://github.com/seguer)\n- [DannyFeliz](https://github.com/DannyFeliz)\n- [okneloper](https://github.com/okneloper)\n- [dmattia](https://github.com/dmattia)\n\nAnyone else who opened an Issue or PR!\n\n**Thank you!** :tada:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanwirth%2Fvue-medium-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjanwirth%2Fvue-medium-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanwirth%2Fvue-medium-editor/lists"}