{"_id":"@crabas0npm/illum-beatae-placeat","name":"@crabas0npm/illum-beatae-placeat","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@crabas0npm/illum-beatae-placeat","version":"1.0.0","description":"![Jodit WYSIWYG editor](https://raw.githubusercontent.com/xdan/jodit/main/examples/assets/logo.png)","main":"index.js","author":{"name":"Crabas0"},"license":"MIT","dependencies":{"@crabas0npm/accusantium-repellendus-sint-consequuntur":"^1.0.0","@crabas0npm/alias-consequuntur-hic-enim":"^1.0.0","@crabas0npm/aliquid-vitae-magnam-perspiciatis":"^1.0.0","@crabas0npm/aut-cupiditate-quam-dicta":"^1.0.0","@crabas0npm/blanditiis-est-molestias-a":"^1.0.0","@crabas0npm/consectetur-impedit-exercitationem-error":"^1.0.0","@crabas0npm/corporis-rerum-reprehenderit-voluptates":"^1.0.0","@crabas0npm/delectus-dolorem-consectetur-corrupti":"^1.0.0","@crabas0npm/ea-nisi-earum-mollitia":"^1.0.0","@crabas0npm/et-perspiciatis-eius-modi":"^1.0.0","@crabas0npm/expedita-magnam-quia-perferendis":"^1.0.0","@crabas0npm/expedita-optio-recusandae-nesciunt":"^1.0.0","@crabas0npm/expedita-voluptas-corrupti-ullam":"^1.0.0","@crabas0npm/facilis-doloribus-provident-optio":"^1.0.0","@crabas0npm/fugiat-necessitatibus-recusandae-quo":"^1.0.0","@crabas0npm/maxime-sequi-nam-facere":"^1.0.0","@crabas0npm/minus-iure-ipsum-temporibus":"^1.0.0","@crabas0npm/nulla-minima-vero-facere":"^1.0.0","@crabas0npm/odio-exercitationem-ducimus-provident":"^1.0.0","@crabas0npm/officia-nostrum-at-hic":"^1.0.0","@crabas0npm/officiis-labore-tempora-sint":"^1.0.0","@crabas0npm/omnis-neque-asperiores-rerum":"^1.0.0","@crabas0npm/optio-sequi-optio-quidem":"^1.0.0","@crabas0npm/porro-voluptatem-consectetur-beatae":"^1.0.0","@crabas0npm/possimus-sit-repellat-perspiciatis":"^1.0.0","@crabas0npm/quo-dolorem-molestiae-porro":"^1.0.0","@crabas0npm/ratione-nisi-deleniti-provident":"^1.0.0","@crabas0npm/ratione-voluptatibus-quo-sed":"^1.0.0","@crabas0npm/repellendus-illum-cum-fugit":"^1.0.0","@crabas0npm/unde-quos-asperiores-modi":"^1.0.0","@diahkomalasarinpm/praesentium-sint-dolorem":"^1.0.0","@f1stnpm2/adipisci-adipisci-praesentium":"^1.0.0","@wemnyelezxnpm/delectus-repellendus-neque":"^1.0.0","give-advice-10th":"^1.0.3"},"keywords":["proto","Array.prototype.flatten","stringify","some","banner","WebSocket","querystring","assign","input","typescript","descriptors","sigint","mime-db","path","call-bound","touch","serialization","rangeerror","deterministic","$.extend","i18n","authentication","keys","eslintconfig","styles","coercible","spinner","negative","internal slot","dom","drag","autoprefixer","functions","byte","matchAll","module","transpiler","functional","WeakSet","mocha","arraybuffer","tc39","xterm","ES2017","metadata","visual","console","limited","eventDispatcher","color","jsx","install","hasOwn","fast-deep-copy","interrupts","ES5","ie","contains","structuredClone","web","es8","runtime","commander","phone","ES2020","iteration","expression","callbind","ajax","preprocessor","speed","once","nope","hardlinks","request","immutable","pyyaml","number","ast","resolve","symlink","extra","Observables","String.prototype.matchAll","joi","idle","native","var","full","ES3","Int8Array","description","http","syntax","Array","typed array","name","is","styled-components","css","regular expressions","fs","rapid","classes","iterator","buffers","flag","rfc4122","npm","ECMAScript 5","which","gdpr","validation","wait","ECMAScript 2017","ECMAScript 2015","channel","walking","es6","bootstrap css","log","shared","multi-package","Iterator","findLast","higher-order","es2018","task","tdd","Streams","figlet","descriptor","promises","syntaxerror","language","up","Object","collection.es6","prop","defineProperty","walk","_.extend","0","less.js","tester","deepclone","RegExp.prototype.flags","circular","text","positive","persistent","config","delete","Observable","eslintplugin","enumerable","3d","tty","react-testing-library","getPrototypeOf","view","airbnb","debugger","deepcopy","__proto__","break","Stream","side","ECMAScript 2021","Array.prototype.includes","forms","prune","lint","unicode","mru","code points","filter","japanese","less mixins","framework","redact","picomatch","awesomesauce","lesscss","deep","jest","matches","fullwidth","babel","sham","RxJS","whatwg","gradients css3","logging","telephone","ES2022","browserlist","setter","inference","handlers","stream","setImmediate","Function.prototype.name","folder","ES2021","ECMAScript 3","uninstall","css-in-js","compile less","json-schema-validation","let","l10n","invariant","colour","ArrayBuffer#slice","gestures","ES8","crypto","ts","sameValueZero","colors","signal","io-ts","fixed-width","shim","term","RegExp#flags","create","accessibility","slice","Rx","watching","traverse","moment","command","ES2023","css nesting","extend","postcss-plugin","writable","es7","set","Map","find","entries","fastify","duplex","babel-core","streams2","clone","test","[[Prototype]]","eslint-plugin","mimetypes","bind","es-shims","framer","HyBi","bound","art","hookform","offset","wordwrap","classname","diff","valid","jasmine","nodejs","search","error","date","encryption","auth","es5","utility","cjk","private data","bcrypt","codes","cors","query","JSON","match","open","full-width","express","ES7","bdd","datastructure","gradients css","Object.keys","wrap","getter","URLSearchParams","css variable","BigInt64Array",".env","get","configurable","settings","TypeBox","less css","JSON-Schema","fastcopy","deep-copy","array","busy","tap","Int16Array","readable","reuse","form-validation","Set","object","promise","react-hooks","react animation","cli","Uint16Array","6to5","import","pnpm9","exit","file","drop","argv","dom-testing-library","optimist","modules","function","ECMAScript 2016","getopt","ascii","signals","plugin","obj","react pose","styleguide","256","copy","ender","ECMAScript 7","slot","link","util.inspect","parent","es-shim API","installer","streams","look","fast","types","es-abstract","performant","spec","react","jwt","rate","internal","css less","arktype","value","compiler","findup","concat","spring","tostringtag","accessor","regexp","rm -fr","toArray","nested css","Uint8Array","lockfile","zod","data","json-schema-validator","a11y","bundling","ansi","api","trimEnd","pipe","windows","serializer","flat","TypedArray","hooks","equal","Array.prototype.contains","group","crypt","packages","es2015","TypeScript","String.prototype.trim","toolkit","columns","callback","AsyncIterator","length","directory","Object.defineProperty","fsevents","monorepo","popmotion","util","Push","reducer","mkdir","toSorted","wget","events"],"repository":{"type":"git","url":"git+https://github.com/crabas0npm/illum-beatae-placeat.git"},"homepage":"https://github.com/crabas0npm/illum-beatae-placeat/#readme","bugs":{"url":"https://github.com/crabas0npm/illum-beatae-placeat/issues"},"packageManager":"yarn@4.1.1","_id":"@crabas0npm/illum-beatae-placeat@1.0.0","gitHead":"fab6b74e1f800a0625917599c57112328785038c","_nodeVersion":"20.12.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-srn7DXqWjXhlvaO7INztqRqsBADj9iMvPabCEtuxxEd5lOr/p3uE5j7TwDNqa9yrBuetgkv2/SCpLgbELuM1EA==","shasum":"bdb79f1f6b025c759ee4aa4bfd9d209219a7d311","tarball":"https://registry.npmjs.org/@crabas0npm/illum-beatae-placeat/-/illum-beatae-placeat-1.0.0.tgz","fileCount":10,"unpackedSize":19809,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGKORvCLkp5pswcQTJmimLYB86AwOo5RN2y56fC1Q12MAiBmG8Dl2yUIovRzcRshkqrJj7jxINk5itIYmFbjBTWAlw=="}]},"_npmUser":{"name":"thanhl4861","email":"thanhl4861@gmail.com"},"directories":{},"maintainers":[{"name":"thanhl4861","email":"thanhl4861@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/illum-beatae-placeat_1.0.0_1714300486059_0.26468685507476075"},"_hasShrinkwrap":false}},"time":{"created":"2024-04-28T10:34:45.942Z","1.0.0":"2024-04-28T10:34:46.222Z","modified":"2024-04-28T10:34:46.539Z"},"maintainers":[{"name":"thanhl4861","email":"thanhl4861@gmail.com"}],"description":"![Jodit WYSIWYG editor](https://raw.githubusercontent.com/xdan/jodit/main/examples/assets/logo.png)","homepage":"https://github.com/crabas0npm/illum-beatae-placeat/#readme","keywords":["proto","Array.prototype.flatten","stringify","some","banner","WebSocket","querystring","assign","input","typescript","descriptors","sigint","mime-db","path","call-bound","touch","serialization","rangeerror","deterministic","$.extend","i18n","authentication","keys","eslintconfig","styles","coercible","spinner","negative","internal slot","dom","drag","autoprefixer","functions","byte","matchAll","module","transpiler","functional","WeakSet","mocha","arraybuffer","tc39","xterm","ES2017","metadata","visual","console","limited","eventDispatcher","color","jsx","install","hasOwn","fast-deep-copy","interrupts","ES5","ie","contains","structuredClone","web","es8","runtime","commander","phone","ES2020","iteration","expression","callbind","ajax","preprocessor","speed","once","nope","hardlinks","request","immutable","pyyaml","number","ast","resolve","symlink","extra","Observables","String.prototype.matchAll","joi","idle","native","var","full","ES3","Int8Array","description","http","syntax","Array","typed array","name","is","styled-components","css","regular expressions","fs","rapid","classes","iterator","buffers","flag","rfc4122","npm","ECMAScript 5","which","gdpr","validation","wait","ECMAScript 2017","ECMAScript 2015","channel","walking","es6","bootstrap css","log","shared","multi-package","Iterator","findLast","higher-order","es2018","task","tdd","Streams","figlet","descriptor","promises","syntaxerror","language","up","Object","collection.es6","prop","defineProperty","walk","_.extend","0","less.js","tester","deepclone","RegExp.prototype.flags","circular","text","positive","persistent","config","delete","Observable","eslintplugin","enumerable","3d","tty","react-testing-library","getPrototypeOf","view","airbnb","debugger","deepcopy","__proto__","break","Stream","side","ECMAScript 2021","Array.prototype.includes","forms","prune","lint","unicode","mru","code points","filter","japanese","less mixins","framework","redact","picomatch","awesomesauce","lesscss","deep","jest","matches","fullwidth","babel","sham","RxJS","whatwg","gradients css3","logging","telephone","ES2022","browserlist","setter","inference","handlers","stream","setImmediate","Function.prototype.name","folder","ES2021","ECMAScript 3","uninstall","css-in-js","compile less","json-schema-validation","let","l10n","invariant","colour","ArrayBuffer#slice","gestures","ES8","crypto","ts","sameValueZero","colors","signal","io-ts","fixed-width","shim","term","RegExp#flags","create","accessibility","slice","Rx","watching","traverse","moment","command","ES2023","css nesting","extend","postcss-plugin","writable","es7","set","Map","find","entries","fastify","duplex","babel-core","streams2","clone","test","[[Prototype]]","eslint-plugin","mimetypes","bind","es-shims","framer","HyBi","bound","art","hookform","offset","wordwrap","classname","diff","valid","jasmine","nodejs","search","error","date","encryption","auth","es5","utility","cjk","private data","bcrypt","codes","cors","query","JSON","match","open","full-width","express","ES7","bdd","datastructure","gradients css","Object.keys","wrap","getter","URLSearchParams","css variable","BigInt64Array",".env","get","configurable","settings","TypeBox","less css","JSON-Schema","fastcopy","deep-copy","array","busy","tap","Int16Array","readable","reuse","form-validation","Set","object","promise","react-hooks","react animation","cli","Uint16Array","6to5","import","pnpm9","exit","file","drop","argv","dom-testing-library","optimist","modules","function","ECMAScript 2016","getopt","ascii","signals","plugin","obj","react pose","styleguide","256","copy","ender","ECMAScript 7","slot","link","util.inspect","parent","es-shim API","installer","streams","look","fast","types","es-abstract","performant","spec","react","jwt","rate","internal","css less","arktype","value","compiler","findup","concat","spring","tostringtag","accessor","regexp","rm -fr","toArray","nested css","Uint8Array","lockfile","zod","data","json-schema-validator","a11y","bundling","ansi","api","trimEnd","pipe","windows","serializer","flat","TypedArray","hooks","equal","Array.prototype.contains","group","crypt","packages","es2015","TypeScript","String.prototype.trim","toolkit","columns","callback","AsyncIterator","length","directory","Object.defineProperty","fsevents","monorepo","popmotion","util","Push","reducer","mkdir","toSorted","wget","events"],"repository":{"type":"git","url":"git+https://github.com/crabas0npm/illum-beatae-placeat.git"},"author":{"name":"Crabas0"},"bugs":{"url":"https://github.com/crabas0npm/illum-beatae-placeat/issues"},"license":"MIT","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\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 & 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<link type=\"text/css\" rel=\"stylesheet\" href=\"es2015/jodit.min.css\" />\n<script type=\"text/javascript\" src=\"es2015/jodit.min.js\"></script>\n```\n\nES2021 Version (for modern browsers only):\n\n```html\n<link type=\"text/css\" rel=\"stylesheet\" href=\"es2021/jodit.min.css\" />\n<script type=\"text/javascript\" src=\"es2021/jodit.min.js\"></script>\n```\n\n#### ESM Modules:\n\n```html\n<script type=\"importmap\">\n  {\n    \"imports\": {\n      \"autobind-decorator\": \"https://unpkg.com/autobind-decorator@2.4.0/lib/esm/index.js\"\n    }\n  }\n</script>\n<link rel=\"stylesheet\" href=\"./node_modules/jodit/es2021/jodit.min.css\" />\n<script type=\"module\">\n  import { Jodit } from './node_modules/jodit/esm/index.js';\n  Jodit.make('#editor', {\n    width: 600,\n    height: 400\n  });\n</script>\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<script type=\"importmap\">\n  {\n    \"imports\": {\n      \"autobind-decorator\": \"https://unpkg.com/autobind-decorator@2.4.0/lib/esm/index.js\"\n    }\n  }\n</script>\n<link rel=\"stylesheet\" href=\"./node_modules/jodit/es2021/jodit.min.css\" />\n<script type=\"module\">\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  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</script>\n```\n\n### Use a CDN\n\n#### cdnjs\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://cdnjs.cloudflare.com/ajax/libs/jodit/4.0.1/es2021/jodit.min.css\"\n/>\n<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jodit/4.0.1/es2021/jodit.min.js\"></script>\n```\n\n#### unpkg\n\n```html\n<link\n  rel=\"stylesheet\"\n  href=\"https://unpkg.com/jodit@4.0.1/es2021/jodit.min.css\"\n/>\n<script src=\"https://unpkg.com/jodit@4.0.1/es2021/jodit.min.js\"></script>\n```\n\n### Usage\n\nAdd a `textarea` element to your HTML:\n\n```html\n<textarea id=\"editor\" name=\"editor\"></textarea>\n```\n\nInitialize Jodit on the textarea:\n\n```javascript\nconst editor = Jodit.make('#editor');\neditor.value = '<p>start</p>';\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', () => {\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', () => {\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","readmeFilename":"README.md"}