{"id":13472882,"url":"https://github.com/xdan/jodit","last_synced_at":"2026-06-07T16:01:02.534Z","repository":{"id":38360074,"uuid":"98203761","full_name":"xdan/jodit","owner":"xdan","description":"Jodit - Best WYSIWYG Editor for You","archived":false,"fork":false,"pushed_at":"2026-06-02T20:19:33.000Z","size":72404,"stargazers_count":1936,"open_issues_count":372,"forks_count":378,"subscribers_count":49,"default_branch":"main","last_synced_at":"2026-06-02T22:17:03.437Z","etag":null,"topics":["ace-editor","editor","filebrowser","html","imageeditor","jodit","rich-text-editor","typescript","wysiwyg","wysiwyg-editor","wysiwyg-html-editor"],"latest_commit_sha":null,"homepage":"https://xdsoft.net/jodit/","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/xdan.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-07-24T15:06:37.000Z","updated_at":"2026-06-02T20:19:46.000Z","dependencies_parsed_at":"2024-01-04T10:37:35.780Z","dependency_job_id":"d2924e98-9ae6-4f99-9005-4133eaefd078","html_url":"https://github.com/xdan/jodit","commit_stats":{"total_commits":2736,"total_committers":94,"mean_commits":"29.106382978723403","dds":"0.39546783625730997","last_synced_commit":"30bb40f3301a9f85dd3c7a6dcace2cbd6cfe5d30"},"previous_names":[],"tags_count":640,"template":false,"template_full_name":null,"purl":"pkg:github/xdan/jodit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdan%2Fjodit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdan%2Fjodit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdan%2Fjodit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdan%2Fjodit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xdan","download_url":"https://codeload.github.com/xdan/jodit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdan%2Fjodit/sbom","scorecard":{"id":1237826,"data":{"date":"2025-07-07","repo":{"name":"github.com/xdan/jodit","commit":"b07f2dacd9143a534d506a34b95d2191445dc023"},"scorecard":{"version":"v5.2.1-18-gbb9c347d","commit":"bb9c347dff6349d986baab6578a46d68a5524c62"},"score":4.2,"checks":[{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#security-policy"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 1/25 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#cii-best-practices"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/docs.yml:1","Warn: no topLevel permission defined: .github/workflows/gh-pages.yml:1","Warn: no topLevel permission defined: .github/workflows/manual.yml:1","Warn: no topLevel permission defined: .github/workflows/playwright.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Warn: no topLevel permission defined: .github/workflows/tests.yml:1","Warn: no topLevel permission defined: .github/workflows/xdsoft.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#binary-artifacts"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#branch-protection"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#fuzzing"}},{"name":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gh-pages.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/xdan/jodit/gh-pages.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gh-pages.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/xdan/jodit/gh-pages.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gh-pages.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/xdan/jodit/gh-pages.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gh-pages.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/xdan/jodit/gh-pages.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/playwright.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/xdan/jodit/playwright.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/playwright.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/xdan/jodit/playwright.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/playwright.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/xdan/jodit/playwright.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/xdan/jodit/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/xdan/jodit/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/xdan/jodit/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/xdan/jodit/tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/xdan/jodit/tests.yml/main?enable=pin","Warn: containerImage not pinned by hash: docker/Dockerfile:1: pin your Docker image by updating ubuntu:latest to ubuntu:latest@sha256:440dcf6a5640b2ae5c77724e68787a906afb8ddee98bf86db94eea8528c2c076","Warn: containerImage not pinned by hash: test/screenshots/Dockerfile:1: pin your Docker image by updating mcr.microsoft.com/playwright:v1.51.0-jammy to mcr.microsoft.com/playwright:v1.51.0-jammy@sha256:51558049e0b094d5f7617f71b9cf0257a2846cb5eea5b63070e714cf2a50eff9","Warn: npmCommand not pinned by hash: test/screenshots/Dockerfile:7","Warn: npmCommand not pinned by hash: docker/install:6","Info:   0 out of  11 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned","Info:   4 out of   6 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":5,"reason":"5 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-4www-5p9h-95mh","Warn: Project is vulnerable to: GHSA-9gqv-wp59-fq42","Warn: Project is vulnerable to: GHSA-4v9v-hfq4-rm2v","Warn: Project is vulnerable to: GHSA-9jgg-88mc-972h"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-09-17T19:45:57.638Z","repository_id":38360074,"created_at":"2025-09-17T19:45:57.645Z","updated_at":"2025-09-17T19:45:57.645Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34027670,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-07T02:00:07.652Z","response_time":124,"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":["ace-editor","editor","filebrowser","html","imageeditor","jodit","rich-text-editor","typescript","wysiwyg","wysiwyg-editor","wysiwyg-html-editor"],"created_at":"2024-07-31T16:00:58.710Z","updated_at":"2026-06-07T16:01:02.471Z","avatar_url":"https://github.com/xdan.png","language":"JavaScript","funding_links":[],"categories":["Editor Components","TypeScript","Rich text editor","Resources","独立的","JavaScript","Standalone"],"sub_categories":["Jodit Examples"],"readme":"![Jodit WYSIWYG editor](https://raw.githubusercontent.com/xdan/jodit/main/examples/assets/logo.png)\n\n# Jodit Editor\n\nJodit Editor is an excellent WYSIWYG editor written in pure TypeScript\nwithout the use of additional libraries. It includes a file editor and image editor.\n\n[![Build Status](https://github.com/xdan/jodit/workflows/Run%20tests/badge.svg)](https://github.com/xdan/jodit/actions/workflows/tests.yml)\n[![npm version](https://badge.fury.io/js/jodit.svg)](https://badge.fury.io/js/jodit)\n[![npm](https://img.shields.io/npm/dm/jodit.svg)](https://www.npmjs.com/package/jodit)\n[![npm](https://img.shields.io/npm/dm/jodit-react.svg)](https://www.npmjs.com/package/jodit-react)\n\n-   [Demo and Official site](https://xdsoft.net/jodit/)\n-   [PRO Version](https://xdsoft.net/jodit/pro/)\n-   [Builder](https://xdsoft.net/jodit/builder/)\n-   [Playground - Play with Options](https://xdsoft.net/jodit/play.html)\n-   [Documentation](https://xdsoft.net/jodit/docs/)\n-   [Download \u0026 Changes](https://github.com/xdan/jodit/releases)\n-   [Changelog](https://github.com/xdan/jodit/blob/main/CHANGELOG.md)\n-   [Examples](https://xdan.github.io/jodit)\n-   [TypeScript Starter](https://codesandbox.io/s/ggc6km)\n\n## Get Started\n\n## How to Use\n\nDownload the latest [release](https://github.com/xdan/jodit/releases/latest) or via npm:\n\n```sh\nnpm install jodit\n```\n\nYou will get the following files:\n\n-   Inside `/esm`: ESM version of the editor (compatible with tools like webpack)\n-   Inside `/es5`, `/es2015`, `/es2018`, `/es2021`: UMD bundled files (not minified)\n-   Inside `/es5`, `/es2015`, `/es2018`, `/es2021` with `.min.js` extension: UMD bundled and minified files\n-   `types/index.d.ts`: This file specifies the API of the editor. It is versioned, while everything else is considered private and may change with each release.\n\n### Include Jodit in Your Project\n\nInclude the following two files:\n\n#### ES5 Version:\n\n```html\n\u003clink type=\"text/css\" rel=\"stylesheet\" href=\"es2015/jodit.min.css\" /\u003e\n\u003cscript type=\"text/javascript\" src=\"es2015/jodit.min.js\"\u003e\u003c/script\u003e\n```\n\nES2021 Version (for modern browsers only):\n\n```html\n\u003clink type=\"text/css\" rel=\"stylesheet\" href=\"es2021/jodit.min.css\" /\u003e\n\u003cscript type=\"text/javascript\" src=\"es2021/jodit.min.js\"\u003e\u003c/script\u003e\n```\n\n#### ESM Modules:\n\n```html\n\u003clink rel=\"stylesheet\" href=\"./node_modules/jodit/es2021/jodit.min.css\" /\u003e\n\u003cscript type=\"module\"\u003e\n  import { Jodit } from './node_modules/jodit/esm/index.js';\n  Jodit.make('#editor', {\n    width: 600,\n    height: 400\n  });\n\u003c/script\u003e\n```\n\nThe ESM modules automatically include only the [basic set of plugins](https://github.com/xdan/jodit/blob/main/tools/utils/resolve-alias-imports.ts#L59) and the English language.\nYou can manually include additional plugins and languages as needed.\n\n```html\n\u003clink rel=\"stylesheet\" href=\"./node_modules/jodit/es2021/jodit.min.css\" /\u003e\n\u003cscript type=\"module\"\u003e\n  import { Jodit } from './node_modules/jodit/esm/index.js';\n  import './node_modules/jodit/esm/plugins/add-new-line/add-new-line.js';\n  import './node_modules/jodit/esm/plugins/fullsize/fullsize.js';\n\n  // Or import all plugins\n  import './node_modules/jodit/esm/plugins/all.js';\n\n  import de from './node_modules/jodit/esm/langs/de.js';\n\n  Jodit.langs.de = de;\n\n  Jodit.make('#editor', {\n    width: 600,\n    height: 400,\n    language: 'de'\n  });\n\u003c/script\u003e\n```\n\n### Use a CDN\n\n#### cdnjs\n\n```html\n\u003clink\n  rel=\"stylesheet\"\n  href=\"https://cdnjs.cloudflare.com/ajax/libs/jodit/4.7.6/es2021/jodit.min.css\"\n/\u003e\n\u003cscript src=\"https://cdnjs.cloudflare.com/ajax/libs/jodit/4.7.6/es2021/jodit.min.js\"\u003e\u003c/script\u003e\n```\n\n#### unpkg\n\n```html\n\u003clink\n  rel=\"stylesheet\"\n  href=\"https://unpkg.com/jodit@4.7.6/es2021/jodit.min.css\"\n/\u003e\n\u003cscript src=\"https://unpkg.com/jodit@4.7.6/es2021/jodit.min.js\"\u003e\u003c/script\u003e\n```\n\n### Usage\n\nAdd a `textarea` element to your HTML:\n\n```html\n\u003ctextarea id=\"editor\" name=\"editor\"\u003e\u003c/textarea\u003e\n```\n\nInitialize Jodit on the textarea:\n\n```javascript\nconst editor = Jodit.make('#editor');\neditor.value = '\u003cp\u003estart\u003c/p\u003e';\n```\n\n### Create plugin\n\n```javascript\nJodit.plugins.yourplugin = function (editor) {\n  editor.events.on('afterInit', function () {\n    editor.s.insertHTMl('Text');\n  });\n};\n```\n\n### Add custom button\n\n```javascript\nconst editor = Jodit.make('.someselector', {\n  extraButtons: [\n    {\n      name: 'insertDate',\n      iconURL: 'https://xdsoft.net/jodit/logo.png',\n      exec: function (editor) {\n        editor.s.insertHTML(new Date().toDateString());\n        editor.synchronizeValues(); // For history saving\n      }\n    }\n  ]\n});\n```\n\nor\n\n```javascript\nconst editor = Jodit.make('.someselector', {\n  buttons: ['bold', 'insertDate'],\n  controls: {\n    insertDate: {\n      name: 'insertDate',\n      iconURL: 'https://xdsoft.net/jodit/logo.png',\n      exec: function (editor) {\n        editor.s.insertHTML(new Date().toDateString());\n      }\n    }\n  }\n});\n```\n\nbutton with plugin\n\n```javascript\nJodit.plugins.add('insertText', function (editor) {\n  editor.events.on('someEvent', function (text) {\n    editor.s.insertHTMl('Hello ' + text);\n  });\n});\n\n// or\n\nJodit.plugins.add('textLength', {\n  init(editor) {\n    const div = editor.create.div('jodit_div');\n    editor.container.appendChild(div);\n    editor.events.on('change.textLength', () =\u003e {\n      div.innerText = editor.value.length;\n    });\n  },\n  destruct(editor) {\n    editor.events.off('change.textLength');\n  }\n});\n\n// or use class\n\nJodit.plugins.add(\n  'textLength',\n  class textLength {\n    init(editor) {\n      const div = editor.create.div('jodit_div');\n      editor.container.appendChild(div);\n      editor.events.on('change.textLength', () =\u003e {\n        div.innerText = editor.value.length;\n      });\n    }\n    destruct(editor) {\n      editor.events.off('change.textLength');\n    }\n  }\n);\n\nconst editor = Jodit.make('.someselector', {\n  buttons: ['bold', 'insertText'],\n  controls: {\n    insertText: {\n      iconURL: 'https://xdsoft.net/jodit/logo.png',\n      exec: function (editor) {\n        editor.events.fire('someEvent', 'world!!!');\n      }\n    }\n  }\n});\n```\n\n## FileBrowser and Uploader\n\nFor testing FileBrowser and Uploader modules, need install [PHP Connector](https://github.com/xdan/jodit-connectors)\n\n```bash\ncomposer create-project --no-dev jodit/connector\n```\n\nRun test PHP server\n\n```bash\nphp -S localhost:8181 -t ./\n```\n\nand set options for Jodit:\n\n```javascript\nconst editor = Jodit.make('#editor', {\n  uploader: {\n    url: 'http://localhost:8181/index-test.php?action=fileUpload'\n  },\n  filebrowser: {\n    ajax: {\n      url: 'http://localhost:8181/index-test.php'\n    }\n  }\n});\n```\n\n## Browser Support\n\n-   Internet Explorer 11\n-   Latest Chrome\n-   Latest Firefox\n-   Latest Safari\n-   Microsoft Edge\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxdan%2Fjodit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxdan%2Fjodit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxdan%2Fjodit/lists"}