{"id":23346519,"url":"https://github.com/smallruraldog/wangeditor","last_synced_at":"2026-04-19T15:04:16.859Z","repository":{"id":57012114,"uuid":"235140430","full_name":"SmallRuralDog/wangeditor","owner":"SmallRuralDog","description":"laravel vue admin wangeditor扩展","archived":false,"fork":false,"pushed_at":"2020-01-20T16:11:32.000Z","size":26,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-23T05:43:16.659Z","etag":null,"topics":["laravel","laravel-vue-admin"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SmallRuralDog.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-20T16:01:15.000Z","updated_at":"2020-01-20T16:10:30.000Z","dependencies_parsed_at":"2022-08-21T13:40:46.537Z","dependency_job_id":null,"html_url":"https://github.com/SmallRuralDog/wangeditor","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/SmallRuralDog/wangeditor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SmallRuralDog%2Fwangeditor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SmallRuralDog%2Fwangeditor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SmallRuralDog%2Fwangeditor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SmallRuralDog%2Fwangeditor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SmallRuralDog","download_url":"https://codeload.github.com/SmallRuralDog/wangeditor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SmallRuralDog%2Fwangeditor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271746653,"owners_count":24813575,"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","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["laravel","laravel-vue-admin"],"created_at":"2024-12-21T07:13:59.323Z","updated_at":"2026-04-19T15:04:16.826Z","avatar_url":"https://github.com/SmallRuralDog.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"laravel vue admin wangeditor扩展\n## 安装\n```shell script\ncomposer require laravel-vue-admin-component/wangeditor\n```\n## 使用\n```php\n$form-\u003eitem('content','文章内容')-\u003edisplayComponent(Wangeditor::make());\n```\n## 属性\n编辑器相关属性设置\n### 自定义菜单\n```php\nWangeditor::make()-\u003emenus([\n        'head',  // 标题\n        'bold',  // 粗体\n        'fontSize',  // 字号\n        'fontName',  // 字体\n        'italic',  // 斜体\n        'underline',  // 下划线\n        'strikeThrough',  // 删除线\n        'foreColor',  // 文字颜色\n        'backColor',  // 背景颜色\n        'link',  // 插入链接\n        'list',  // 列表\n        'justify',  // 对齐方式\n        'quote',  // 引用\n        'emoticon',  // 表情\n        'image',  // 插入图片\n        'table',  // 表格\n        'video',  // 插入视频\n        'code',  // 插入代码\n        'undo',  // 撤销\n        'redo'  // 重复\n]);\n```\n### 编辑区域的 z-index\n```php\nWangeditor::make()-\u003ezIndex(10);\n```\n### 使用 base64 保存图片\n```php\nWangeditor::make()-\u003euploadImgShowBase64();\n```\n### 配置服务器端地址\n```php\nWangeditor::make()-\u003euploadImgServer(route('upload'));\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmallruraldog%2Fwangeditor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmallruraldog%2Fwangeditor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmallruraldog%2Fwangeditor/lists"}