{"id":13434105,"url":"https://github.com/summernote/summernote","last_synced_at":"2025-05-12T16:16:42.434Z","repository":{"id":8259576,"uuid":"9709563","full_name":"summernote/summernote","owner":"summernote","description":"Super simple WYSIWYG editor","archived":false,"fork":false,"pushed_at":"2025-02-04T18:17:28.000Z","size":20498,"stargazers_count":11717,"open_issues_count":86,"forks_count":2260,"subscribers_count":295,"default_branch":"main","last_synced_at":"2025-05-05T14:13:13.409Z","etag":null,"topics":["javascript","summernote","wysiwyg","wysiwyg-editor"],"latest_commit_sha":null,"homepage":"https://summernote.org","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/summernote.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"open_collective":"summernote"}},"created_at":"2013-04-27T04:59:48.000Z","updated_at":"2025-05-05T02:00:54.000Z","dependencies_parsed_at":"2023-10-17T12:13:42.695Z","dependency_job_id":"9d3269f4-69c1-4176-92ba-d9220f1eac19","html_url":"https://github.com/summernote/summernote","commit_stats":{"total_commits":2622,"total_committers":377,"mean_commits":6.954907161803714,"dds":0.5789473684210527,"last_synced_commit":"542738a99ad81a426c99d267e4bf8345e1efbc46"},"previous_names":[],"tags_count":63,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/summernote%2Fsummernote","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/summernote%2Fsummernote/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/summernote%2Fsummernote/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/summernote%2Fsummernote/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/summernote","download_url":"https://codeload.github.com/summernote/summernote/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253523696,"owners_count":21921815,"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":["javascript","summernote","wysiwyg","wysiwyg-editor"],"created_at":"2024-07-31T02:01:46.069Z","updated_at":"2025-05-12T16:16:42.415Z","avatar_url":"https://github.com/summernote.png","language":"JavaScript","readme":"# Summernote\n\n[![Build Status](https://travis-ci.org/summernote/summernote.svg?branch=develop)](http://travis-ci.org/summernote/summernote)\n[![npm version](https://badge.fury.io/js/summernote.svg)](http://badge.fury.io/js/summernote)\n[![Coverage Status](https://coveralls.io/repos/summernote/summernote/badge.svg?branch=develop\u0026service=github)](https://coveralls.io/github/summernote/summernote?branch=develop)\n\nSummernote is a JavaScript library that helps you create WYSIWYG editors with a simple and easy-to-use interface. Summernote is licensed under MIT and maintained by the community.\n\nHomepage: \u003chttps://summernote.org\u003e\n\n## Why Summernote?\n\nSummernote has a few special features:\n\n- **Simple and User-friendly**: Providing a simple and intuitive interface that allows users\n- **Easy to install**: Just include the JS/CSS files on your HTML and create a div tag to get started.\n- **Compatible with Bootstrap**: Bootstrap 3, 4, and 5.\n- **Rich ecosystem**: A wide array of [plugins and connectors](https://github.com/summernote/awesome-summernote) are available, enhancing functionality and integration options.\n- **Easy image handling**: Images are automatically embedded in the content using base64 encoding, eliminating the need for separate image management\n\n## How to Use\n\nSummernote is built on [jQuery](http://jquery.com/).\n\n### How to install\n\n#### 1. Include JS/CSS\n\nInclude the following code in the `\u003chead\u003e` tag of your HTML:\n\n```html\n\u003c!-- include libraries(jQuery, bootstrap) --\u003e\n\u003cscript type=\"text/javascript\" src=\"//code.jquery.com/jquery-3.6.0.min.js\"\u003e\u003c/script\u003e\n\u003clink rel=\"stylesheet\" href=\"//cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css\" /\u003e\n\u003cscript type=\"text/javascript\" src=\"//cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js\"\u003e\u003c/script\u003e\n\n\u003c!-- include summernote css/js--\u003e\n\u003clink href=\"summernote-bs5.css\" rel=\"stylesheet\"\u003e\n\u003cscript src=\"summernote-bs5.js\"\u003e\u003c/script\u003e\n```\n\n#### 2. Place a `div` tag\n\nThen place a `div` tag somewhere in the `body` tag. This element will be replaced with the summernote editor.\n\n```html\n\u003cdiv id=\"summernote\"\u003eHello Summernote\u003c/div\u003e\n```\n\n#### 3. Initialize Summernote\n\nFinally, initialize Summernote with the following JavaScript:\n\n```javascript\n$(document).ready(function() {\n  $('#summernote').summernote();\n});\n```\n\nFor more examples, please visit to [homepage](http://summernote.org/examples).\n\n### API\n\nSummernote provides a set of API. For example, you can use the following code to get the HTML source code underlying the text in the editor:\n\n```javascript\nvar html = $('#summernote').summernote('code');\n```\n\nFor more detail about API, please refer to [document](http://summernote.org/getting-started/#basic-api).\n\n\u003e Warning - code injection\n\u003e The code view allows the user to enter script contents. Make sure to filter/[sanitize the HTML on the server](https://github.com/search?l=JavaScript\u0026q=sanitize+html). Otherwise, an attacker can inject arbitrary JavaScript code into clients.\n\n## For contributing\n\nSee the [CONTRIBUTING.md]( https://github.com/summernote/summernote/blob/main/.github/CONTRIBUTING.md) for details on how to contribute to Summernote.\n\n## Contributors ✨\n\nThanks go to these incredible people:\n\n\u003ca href=\"https://github.com/summernote/summernote/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=summernote/summernote\" alt=\"contributors\"/\u003e\n\u003c/a\u003e\n\n## Sponsors\n\nIs your company using Summernote? Ask your boss to support us. It will help us dedicate more time to maintain this project and to make it even better for all our users. Also, your company logo will show up on here and on our website: -) [[Become a sponsor](https://opencollective.com/summernote#sponsor)]\n\u003ca href=\"https://opencollective.com/summernote#sponsor\" target=\"_\nblank\"\u003e\u003cimg src=\"https://opencollective.com/summernote/sponsor.svg?width=890\"\u003e\u003c/a\u003e\n\n### Backers\n\nPlease be our [Backers](https://opencollective.com/summernote#backers).\n\u003ca href=\"https://opencollective.com/summernote#backers\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/summernote/backers.svg?width=890\"\u003e\u003c/a\u003e\n\n## Contacts\n\n* Discord: [Join the Summernote Discord community](https://discord.gg/7A64GBKwyu)\n","funding_links":["https://opencollective.com/summernote"],"categories":["JavaScript","Rich text editor","基于 JQuery","Editors","\u003e 10K ⭐️","Javascript","javascript","Uncategorized","Editors [🔝](#readme)","Web 前端","编辑器","JQuery Based"],"sub_categories":["Runner","Uncategorized","运行器","运行器e2e测试"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsummernote%2Fsummernote","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsummernote%2Fsummernote","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsummernote%2Fsummernote/lists"}