{"id":19142306,"url":"https://github.com/eldoy/vedit","last_synced_at":"2025-05-06T23:46:23.419Z","repository":{"id":57391386,"uuid":"150913875","full_name":"eldoy/vedit","owner":"eldoy","description":"Vue Editor Component based on Quill.js","archived":false,"fork":false,"pushed_at":"2018-10-11T04:22:54.000Z","size":34,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-19T16:11:38.127Z","etag":null,"topics":["drag-and-drop","editor","quill","resize","upload","video","vue"],"latest_commit_sha":null,"homepage":null,"language":"Vue","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/eldoy.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":"2018-09-30T00:27:43.000Z","updated_at":"2022-06-04T21:55:10.000Z","dependencies_parsed_at":"2022-08-25T18:41:58.542Z","dependency_job_id":null,"html_url":"https://github.com/eldoy/vedit","commit_stats":null,"previous_names":["fugroup/vedit"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldoy%2Fvedit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldoy%2Fvedit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldoy%2Fvedit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldoy%2Fvedit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eldoy","download_url":"https://codeload.github.com/eldoy/vedit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252788408,"owners_count":21804281,"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":["drag-and-drop","editor","quill","resize","upload","video","vue"],"created_at":"2024-11-09T07:26:47.596Z","updated_at":"2025-05-06T23:46:23.403Z","avatar_url":"https://github.com/eldoy.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vue editor based on Quill.js\n\nThis build has built in support for:\n* Upload image\n* Drag and drop image as base64\n* Insert Vimeo and Youtube video\n* Resize and align video and image\n* Copy paste text\n* H2 and H3 tags\n* Bold, italic, underlined, strikethrough\n* Quotes, code, lists, text alignment\n\n### INSTALL\n```npm i vedit``` or ```yarn add vedit```\n\n### USAGE\nHow to use from an example Editor.vue file:\n```html\n\u003ctemplate\u003e\n  \u003cdiv class=\"editor\"\u003e\n    \u003c!-- Subscribe to change and upload events. The client prop is the upload handler. --\u003e\n    \u003cVedit @change=\"change\" @upload=\"upload\" :client=\"client\"\u003e\n      \u003c!-- Slot for initial HTML. Use v-html if you are loading HTML from a string. --\u003e\n      \u003cdiv v-html=\"content\" /\u003e\n    \u003c/Vedit\u003e\n  \u003c/div\u003e\n\u003c/template\u003e\n\n\u003cscript\u003e\nimport Client from '@/lib/client'\nimport Vedit from 'vedit'\n\nexport default {\n  name: 'Editor',\n  components: { Vedit },\n  created () {\n    // Example upload client\n    this.client = new Client({ url: 'http://example.com/upload' })\n  },\n  methods: {\n    // Everytime you write something you can read the value of the editor here\n    change (value) {\n      console.log('CHANGE:', value)\n    },\n    // The upload handler for the client should be a function that takes input files\n    // and returns a promise that resolves with file URLs.\n    upload(urls) {\n      console.log('UPLOADED:', urls)\n    }\n  },\n  data () {\n    return {\n      client: null,\n      content: '\u003cp\u003e\u003cimg src=\"https://7ino.s3.amazonaws.com/1538111025472_umbrellas-small.jpg\"\u003eHello\u003c/p\u003e'\n    }\n  }\n}\n\u003c/script\u003e\n```\nMIT Licensed. Enjoy!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feldoy%2Fvedit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feldoy%2Fvedit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feldoy%2Fvedit/lists"}