{"_id":"textio-draft-js","_rev":"104-ad67436e51395b97cf46d64f7b08e152","name":"textio-draft-js","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"textio-draft-js","version":"1.0.0","keywords":["draftjs","editor","react","richtext"],"license":"BSD-3-Clause","_id":"textio-draft-js@1.0.0","maintainers":[{"name":"textio","email":"admin@textio.com"}],"homepage":"https://facebook.github.io/draft-js","bugs":{"url":"https://github.com/facebook/draft-js/issues"},"dist":{"shasum":"f33faaf43589991b1da035e5b537c6e24a8b230b","tarball":"https://registry.npmjs.org/textio-draft-js/-/textio-draft-js-1.0.0.tgz","integrity":"sha512-IoVAHpcuQNpsgj3Z8N5S4xsfxoI3+27XDMxHWDZbOK0cz9ozpJTqSmhtPaDh51TN+LhbBEMCDGPh60+OxT7aWw==","signatures":[{"sig":"MEYCIQDUSpTUnWQYSHcRd2te4YHFwfy5wF0EKy2SIFJehuAKuQIhAPd2yr51YKAMH/+jvPZ1M2MXufxkAoB3jPOSoHuV2TOb","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"jest":{"rootDir":"./","automock":true,"setupFiles":["node_modules/fbjs-scripts/jest/environment.js"],"testPathDirs":["<rootDir>/src/"],"scriptPreprocessor":"scripts/jest/preprocessor.js","modulePathIgnorePatterns":["<rootDir>/lib/","<rootDir>/node_modules/"],"preprocessorIgnorePatterns":["<rootDir>/node_modules/"],"unmockedModulePathPatterns":["<rootDir>/node_modules/fbjs/node_modules/","<rootDir>/node_modules/fbjs/lib/UserAgent.js","<rootDir>/node_modules/fbjs/lib/UserAgentData.js","<rootDir>/node_modules/fbjs-scripts/","<rootDir>/node_modules/immutable/","<rootDir>/node_modules/object-assign/","<rootDir>/node_modules/react/","<rootDir>/node_modules/react-dom/"]},"main":"lib/Draft.js","_from":".","files":["dist/","lib/","LICENSE","PATENTS"],"_shasum":"f33faaf43589991b1da035e5b537c6e24a8b230b","gitHead":"2cc378afe9c1e887586e013c769c98ea5a0b101f","scripts":{"flow":"flow src","lint":"eslint .","test":"NODE_ENV=test jest","build":"gulp","pretest":"node node_modules/fbjs-scripts/node/check-dev-engines.js package.json","test-ci":"NODE_ENV=test npm run lint && npm run flow && npm run test","postbuild":"node node_modules/fbjs-scripts/node/check-lib-requires.js lib","prepublish":"npm run build"},"_npmUser":{"name":"textio","email":"admin@textio.com"},"devEngines":{"npm":"2.x || 3.x","node":"4.x || 6.x"},"repository":{"url":"git+https://github.com/facebook/draft-js.git","type":"git"},"_npmVersion":"3.10.7","description":"A React framework for building text editors.","directories":{},"_nodeVersion":"6.7.0","dependencies":{"fbjs":"^0.8.3","immutable":"~3.7.4","object-assign":"^4.1.0"},"devDependencies":{"del":"^2.2.0","gulp":"^3.9.0","jest":"^15.1.1","react":"^15.0.0-rc.1","envify":"^3.4.0","eslint":"^3.0.1","es6-shim":"^0.34.4","flow-bin":"^0.32.0","through2":"^2.0.1","gulp-util":"^3.0.6","react-dom":"^15.0.0-rc.1","babel-core":"^6.8.0","gulp-babel":"^6.1.2","gulp-header":"1.8.2","gulp-rename":"^1.2.2","gulp-uglify":"^1.2.0","babel-eslint":"^6.1.2","fbjs-scripts":"^0.7.0","gulp-flatten":"^0.2.0","run-sequence":"^1.1.2","vinyl-buffer":"^1.0.0","gulp-clean-css":"^2.0.3","gulp-derequire":"^2.1.0","webpack-stream":"^3.0.0","gulp-concat-css":"^2.2.0","babel-preset-fbjs":"^2.1.0","eslint-config-fbjs":"^1.1.0","eslint-plugin-babel":"^3.3.0","eslint-plugin-react":"^5.2.2","gulp-browserify-thin":"^0.1.5","eslint-plugin-flowtype":"^2.17.1"},"peerDependencies":{"react":"^0.14.0 || ^15.0.0-rc","react-dom":"^0.14.0 || ^15.0.0-rc"},"_npmOperationalInternal":{"tmp":"tmp/textio-draft-js-1.0.0.tgz_1479859696616_0.569665358401835","host":"packages-12-west.internal.npmjs.com"}}},"time":{"created":"2016-11-23T00:08:16.856Z","modified":"2026-07-02T17:22:04.518Z","1.0.0":"2016-11-23T00:08:16.856Z"},"bugs":{"url":"https://github.com/facebook/draft-js/issues"},"license":"BSD-3-Clause","homepage":"https://facebook.github.io/draft-js","keywords":["draftjs","editor","react","richtext"],"repository":{"url":"git+https://github.com/facebook/draft-js.git","type":"git"},"description":"A React framework for building text editors.","maintainers":[{"email":"admin@textio.com","name":"textio-circle"},{"email":"jensen@textio.com","name":"jensen_textio"},{"email":"bobby@textio.com","name":"bobby_textio"},{"email":"olivia@textio.com","name":"oliviagunton"},{"email":"mattie@textio.com","name":"mattiejean"},{"email":"brad@textio.com","name":"brad2"},{"email":"gregory@textio.com","name":"textio-greg"},{"email":"colin@textio.com","name":"colinjeanne-textio"}],"readme":"# [Draft.js](https://facebook.github.io/draft-js/) [![Build Status](https://img.shields.io/travis/facebook/draft-js/master.svg?style=flat)](https://travis-ci.org/facebook/draft-js) [![npm version](https://img.shields.io/npm/v/draft-js.svg?style=flat)](https://www.npmjs.com/package/draft-js)\n\nDraft.js is a JavaScript rich text editor framework, built for React and\nbacked by an immutable model.\n\n- **Extensible and Customizable:** We provide the building blocks to enable\nthe creation of a broad variety of rich text composition experiences, from\nsimple text styles to embedded media.\n- **Declarative Rich Text:** Draft.js fits seamlessly into\n[React](http://facebook.github.io/react/) applications,\nabstracting away the details of rendering, selection, and input behavior with a\nfamiliar declarative API.\n- **Immutable Editor State:** The Draft.js model is built\nwith [immutable-js](https://facebook.github.io/immutable-js/), offering\nan API with functional state updates and aggressively leveraging data persistence\nfor scalable memory usage.\n\n[Learn how to use Draft.js in your own project.](https://facebook.github.io/draft-js/docs/overview.html)\n\n## Examples\n\nVisit https://facebook.github.io/draft-js/ to try out a simple rich editor example.\n\nThe repository includes a variety of different editor examples to demonstrate\nsome of the features offered by the framework.\n\nTo run the examples, first build Draft.js locally:\n\n```\ngit clone https://github.com/facebook/draft-js.git\ncd draft-js\nnpm install\nnpm run build\n```\n\nthen open the example HTML files in your browser.\n\nDraft.js is used in production on Facebook, including status and\ncomment inputs, [Notes](https://www.facebook.com/notes/), and\n[messenger.com](https://www.messenger.com).\n\n## Resources and Ecosystem\n\nCheck out this curated list of articles and open-sourced projects/utilities: [Awesome Draft-JS](https://github.com/nikgraf/awesome-draft-js).\n\n## Discussion and Support\n\nJoin our [Slack team](https://draftjs.herokuapp.com)!\n\n## Contribute\n\nWe actively welcome pull requests. Learn how to\n[contribute](https://github.com/facebook/draft-js/blob/master/CONTRIBUTING.md).\n\n## License\n\nDraft.js is [BSD Licensed](https://github.com/facebook/draft-js/blob/master/LICENSE).\nWe also provide an additional [patent grant](https://github.com/facebook/draft-js/blob/master/PATENTS).\n\nExamples provided in this repository and in the documentation are separately\nlicensed.\n","readmeFilename":"README.md"}