{"id":22080465,"url":"https://github.com/paqtcom/summernote","last_synced_at":"2025-03-23T20:45:14.331Z","repository":{"id":47809231,"uuid":"294616500","full_name":"paqtcom/summernote","owner":"paqtcom","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-26T20:46:42.000Z","size":3007,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-29T04:24:04.643Z","etag":null,"topics":["package"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"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/paqtcom.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,"governance":null,"roadmap":null,"authors":"AUTHORS.txt","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-11T06:47:03.000Z","updated_at":"2022-02-24T09:12:18.000Z","dependencies_parsed_at":"2025-01-29T04:23:34.185Z","dependency_job_id":"cff9d3e7-e832-4ca7-a4f5-fad0f7a938f6","html_url":"https://github.com/paqtcom/summernote","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paqtcom%2Fsummernote","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paqtcom%2Fsummernote/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paqtcom%2Fsummernote/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paqtcom%2Fsummernote/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paqtcom","download_url":"https://codeload.github.com/paqtcom/summernote/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245168810,"owners_count":20571799,"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":["package"],"created_at":"2024-11-30T23:14:40.072Z","updated_at":"2025-03-23T20:45:14.310Z","avatar_url":"https://github.com/paqtcom.png","language":"JavaScript","readme":"\u003e **⚠ WARNING: No maintenance intended**  \n\u003e This package is not actively maintained.\n\n# Way 2 Summernote\n\n[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url]\n\nExample implementation:\n\n```\n$('.js-wysiwyg').each(function() {\n    new W2Summernote()\n        .element($(this))\n        .init();\n});\n```\n\n## .init()\n\nAttach summernote.\n\nSummernote is a JavaScript library that helps you create WYSIWYG editors online.\n\n## .toolbar()\n\nWith the function toolbar you can send an array with the toolbars.\n\n```\n[\n    ['style', ['bold', 'italic', 'underline', 'clear']],\n    ['font', ['strikethrough', 'superscript', 'subscript']],\n    ['para', ['ul', 'ol', 'paragraph']],\n    ['insert', ['link']],\n    ['misc', ['undo', 'redo']],\n    ['codeview', ['codeview']]\n]\n```\n\n## .element()\n\nSet the element of the textarea to attach the summernote wysiwyg editor.\n\nDefault value:\n`.js-wysiwyg`\n\n## .height()\n\nSet the height of the summernote wysiwyg editor.\n\nDefault value:\n`300`\n\n## .tooltip()\n\nTurn the tooltip on or off.\n\nDefault value:\n`true`\n\n## .get()\n\nGet the HTML contents of the first summernote in the set of matched elements.\n\n## .set()\n\nA string of HTML to set as the content of each matched element.\n\n```\nvar markupString = 'hello world';\n\nnew W2Summernote(markupString).set().init();\n```\n\n## .unset()\n\nUnset summernote.\n\n\n## Test the package.\n\nTo test the package, clone the package to your system.\nThan run this command.\n\n```\nnpm run build\n```\n\nThis will copy the test files to the dist, and also build the package files include the dependencies.\n\nWhen this script is complete without errors, you can open `dist/index.html` in your browser.\nOpen the dev tools, tab console, and you see all the results of the tests.\n\nIf you only want to check the eslint rules, just run.\n\n```\nnpm run lint\n```\n\n\n[downloads-image]: https://img.shields.io/npm/dm/way2web-summernote.svg\n[npm-url]: https://www.npmjs.com/package/way2web-summernote\n[npm-image]: https://img.shields.io/npm/v/way2web-summernote.svg\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaqtcom%2Fsummernote","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaqtcom%2Fsummernote","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaqtcom%2Fsummernote/lists"}