{"_id":"@brutalredemption/ckeditor5-insert-image","_rev":"1-c8ebd4855abe52aeac9eb2853080732e","name":"@brutalredemption/ckeditor5-insert-image","dist-tags":{"latest":"1.5.0"},"versions":{"1.4.0":{"name":"@brutalredemption/ckeditor5-insert-image","version":"1.4.0","description":"Adds support for inserting images into the CKEditor 5","main":"insert-image.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/BrutalRedemption/ckeditor5-insert-image.git"},"keywords":["insert-image","ckeditor","ckeditor5","ckeditor 5","ckeditor5-feature","ckeditor5-plugin","ckeditor5-dll"],"author":{"name":"BrutalRedemption"},"license":"ISC","bugs":{"url":"https://github.com/BrutalRedemption/ckeditor5-insert-image/issues"},"homepage":"https://github.com/BrutalRedemption/ckeditor5-insert-image#readme","dependencies":{"@ckeditor/ckeditor5-core":"^34.0.0","@ckeditor/ckeditor5-engine":"^34.0.0","@ckeditor/ckeditor5-utils":"^34.0.0","@ckeditor/ckeditor5-widget":"^34.0.0","lodash-es":"^4.17.11"},"devDependencies":{"@ckeditor/ckeditor5-alignment":"^34.0.0","@ckeditor/ckeditor5-basic-styles":"^34.0.0","@ckeditor/ckeditor5-block-quote":"^34.0.0","@ckeditor/ckeditor5-cloud-services":"^34.0.0","@ckeditor/ckeditor5-code-block":"^34.0.0","@ckeditor/ckeditor5-easy-image":"^34.0.0","@ckeditor/ckeditor5-editor-classic":"^34.0.0","@ckeditor/ckeditor5-enter":"^34.0.0","@ckeditor/ckeditor5-horizontal-line":"^34.0.0","@ckeditor/ckeditor5-image":"^34.0.0","@ckeditor/ckeditor5-link":"^34.0.0","@ckeditor/ckeditor5-page-break":"^34.0.0","@ckeditor/ckeditor5-paragraph":"^34.0.0","@ckeditor/ckeditor5-paste-from-office":"^34.0.0","@ckeditor/ckeditor5-remove-format":"^34.0.0","@ckeditor/ckeditor5-table":"^34.0.0","@ckeditor/ckeditor5-typing":"^34.0.0"},"gitHead":"15f9dfcfa3f1a59a276f3534b3e8f1638373ea1c","_id":"@brutalredemption/ckeditor5-insert-image@1.4.0","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-zqp7zHOqn1KPMu+QluqrH9u5d2nhb3IBxITcfDDDcVon+tIRJhwWIqe6EoimJTUYIzM515cVNlX7ri+G11eVsg==","shasum":"165f9dd444dda2cd611186e8fc53bee5a39f9fd0","tarball":"https://registry.npmjs.org/@brutalredemption/ckeditor5-insert-image/-/ckeditor5-insert-image-1.4.0.tgz","fileCount":7,"unpackedSize":10867,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfux/4THIPgYrU8VorntDu6Tuijji2bnB2ql56ZG8KQQIgZlcKFFp8iWdMiD2B00W7i5pHw7KFtikAHacwIBBdppA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2jiJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp0Pg//ekxAN/XBjQfj5/HdDT8kBxkj9yuyfaBveFAnUqnL+GYFHCyX\r\nlkPSxpeGEmAxP0s4Apbp+nHTFHlmBGxqG3/Zq7OOiXz53Hos/uoCY1oPM+8X\r\n9vTzVO+LvjZ1UJrvI2s0FoxTGs1/1RUKA0PHyFgvzG3Scm8pCBOeeQYclBwx\r\nfyRHXO5ejjxx7/GQGTf7OoDzmtL196NLvyUwnrGe59eG9+fXXJu+dx7QgZvS\r\nBZb1BsIdIIJi/qU0HuxLF1y3sosmuuWxrz2StnB3qG0t2ZjfO71tmt9oNRcE\r\n/EwACcLzq0C1ju/e5XEAOkedENTrrm+zj3K2HEWwkIZc3E+Vc7U+CnwZQVoT\r\nf0YTeHO1Vp3jkARKd52lru0oBNIgFssDFjefCj2MFNcLp0ynev8wvq3vWXTg\r\nbnw0SrTGueGl5cfO4CGjCPc6e9nQo13lf73BBpJAGkDoUW7wYC068yuw+Eex\r\nSdW+yahaAJWlDzh6jx/Q2q7eQEC9D+lwXw0Su6YouFtY++YPSCER4Nersxl9\r\n8d9NjJquAk5INIzKLzy5sLrqZIKrY9GRlLr4p2oX8Ba2mk6ri+hpGHAfVOzc\r\nCmiiGr6LkjiX252s38ApR1VU7L5ZzxGoxykNSjQQkAJc3jkY/rU7z8lehwSr\r\n/WHz2noREWPhDsG8YRVzvuVwzjyYSI/Yw6c=\r\n=MDm+\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"brutalredemption","email":"brutalredemption1990@gmail.com"},"directories":{},"maintainers":[{"name":"brutalredemption","email":"brutalredemption1990@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ckeditor5-insert-image_1.4.0_1675245704869_0.6553073780371368"},"_hasShrinkwrap":false},"1.5.0":{"name":"@brutalredemption/ckeditor5-insert-image","version":"1.5.0","description":"Adds support for inserting images into the CKEditor 5","main":"insert-image.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/BrutalRedemption/ckeditor5-insert-image.git"},"keywords":["insert-image","ckeditor","ckeditor5","ckeditor 5","ckeditor5-feature","ckeditor5-plugin","ckeditor5-dll"],"author":{"name":"BrutalRedemption"},"license":"ISC","bugs":{"url":"https://github.com/BrutalRedemption/ckeditor5-insert-image/issues"},"homepage":"https://github.com/BrutalRedemption/ckeditor5-insert-image#readme","dependencies":{"@ckeditor/ckeditor5-core":"^34.0.0","@ckeditor/ckeditor5-engine":"^34.0.0","@ckeditor/ckeditor5-utils":"^34.0.0","@ckeditor/ckeditor5-widget":"^34.0.0","lodash-es":"^4.17.11"},"devDependencies":{"@ckeditor/ckeditor5-alignment":"^34.0.0","@ckeditor/ckeditor5-basic-styles":"^34.0.0","@ckeditor/ckeditor5-block-quote":"^34.0.0","@ckeditor/ckeditor5-cloud-services":"^34.0.0","@ckeditor/ckeditor5-code-block":"^34.0.0","@ckeditor/ckeditor5-easy-image":"^34.0.0","@ckeditor/ckeditor5-editor-classic":"^34.0.0","@ckeditor/ckeditor5-enter":"^34.0.0","@ckeditor/ckeditor5-horizontal-line":"^34.0.0","@ckeditor/ckeditor5-image":"^34.0.0","@ckeditor/ckeditor5-link":"^34.0.0","@ckeditor/ckeditor5-page-break":"^34.0.0","@ckeditor/ckeditor5-paragraph":"^34.0.0","@ckeditor/ckeditor5-paste-from-office":"^34.0.0","@ckeditor/ckeditor5-remove-format":"^34.0.0","@ckeditor/ckeditor5-table":"^34.0.0","@ckeditor/ckeditor5-typing":"^34.0.0"},"gitHead":"b1d6822fdbb7347879c80f9ce57b0ff1fcdfa25f","_id":"@brutalredemption/ckeditor5-insert-image@1.5.0","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-/g9SOqV99ZAu1R/8ON7DXP0ZHmDDVQ8v43jK8u5iiaTCes/6un/Zs0dmbWOJxApGAugOX7BF+K3TrBUWaxaLXg==","shasum":"7e8e87a99c9d8d3ad11a347ee1ae66174554e228","tarball":"https://registry.npmjs.org/@brutalredemption/ckeditor5-insert-image/-/ckeditor5-insert-image-1.5.0.tgz","fileCount":7,"unpackedSize":16108,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDsAB3jQN/pinh7eDoaRGfCQqtvzVZSc5Dg9jYUiVgrgwIgXndyx6ftH/dW4NbqfUTQYvqvkwfS0NaLqzMlgQuR+wc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2kBnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoX1g/+NYL6NVG7/6GiF4zc8eKUGm3nTMrH4CJK2rVlE8IyjkIYB6cE\r\nDJR0BN8UYmWNNc99dt80/dgJJa2CmcUM7Q2nYfZ8+YnvFetRdC+t2tV+EkqR\r\ng5D/ToDTA53VP22vAj897Bav5L5Ljqk0bTjRgmCr3pp5ezkwiDzShn+b5R6N\r\n4R9IwLD62lUCaUnwybnXvouhKKx2kD+yRm8RcWcoenBNG/5D3sDVBW1o0OV+\r\n9rQ6JyA3VAXfkbMn0CzFWAN/leOkVCE4SNHFS+an+T4vYU2Y/wGUB84HwyWt\r\n4C9e3k7NxCX/NxmLC1S3fMWkZFzP0MriZtgs9/7TyLN7X1VDLpIFMw3NbZNv\r\nveXULQ8QGMd32iGBDc+QWAtTAG1nKLtyevoK6raSocK6eHQGz0lFqMMgbjBl\r\nsiTxNvR592vl0Q30lNQmBOnnxjGx4NKvmoqbhJNMA9+8l96xqImMhh3y8/Ea\r\nk/7Hvudy+sr3UetZmrsGWSnWe9VzFqIAtSTCwa5PGYqwASdjft+m6MYtxWv/\r\n24Sn5HEIUoiEqlYLit3sMUe/1/iMW02UThI1YRfltUPyag/wiORma4SyObvc\r\nrqDuOBRd3QIchae9tCZqYjk6dtTlfTJ8Ybs4Eb0pk858JymhGplHTpTK5UaJ\r\naEvELyIIT/+C4/6GCE1GBR8VvpDF1FRC0gM=\r\n=VIDH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"brutalredemption","email":"brutalredemption1990@gmail.com"},"directories":{},"maintainers":[{"name":"brutalredemption","email":"brutalredemption1990@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ckeditor5-insert-image_1.5.0_1675247719737_0.44605002883067413"},"_hasShrinkwrap":false}},"time":{"created":"2023-02-01T10:01:44.783Z","1.4.0":"2023-02-01T10:01:45.021Z","modified":"2023-02-01T10:35:19.976Z","1.5.0":"2023-02-01T10:35:19.880Z"},"maintainers":[{"name":"brutalredemption","email":"brutalredemption1990@gmail.com"}],"description":"Adds support for inserting images into the CKEditor 5","homepage":"https://github.com/BrutalRedemption/ckeditor5-insert-image#readme","keywords":["insert-image","ckeditor","ckeditor5","ckeditor 5","ckeditor5-feature","ckeditor5-plugin","ckeditor5-dll"],"repository":{"type":"git","url":"git+https://github.com/BrutalRedemption/ckeditor5-insert-image.git"},"author":{"name":"BrutalRedemption"},"bugs":{"url":"https://github.com/BrutalRedemption/ckeditor5-insert-image/issues"},"license":"ISC","readme":"# CKEditor 5 Insert Image via URL \r\n\r\nThis plugin allows users to add Images only through an URL. \r\nSince the default Image button in the editor also enables Image upload and not just an Image through an URL,\r\nthis plugin was created.\r\n\r\n\r\nUse this plugin by installing via \r\n\r\n```npm i @brutalredemption/ckeditor5-insert-image```\r\n\r\nNext , import the package using the following syntax in the src/ckeditor.js\r\n\r\n```import InsertImage from '@brutalredemption/ckeditor5-insert-image/src/insert-image'```\r\n\r\n\r\nMake sure to import the \"insertImage\" in the plugins , an example as how it should be can be seen down below:\r\n\r\n```\r\nimport ClassicEditorBase from '@ckeditor/ckeditor5-editor-classic/src/classiceditor';\r\n\r\nimport Essentials from '@ckeditor/ckeditor5-essentials/src/essentials';\r\nimport UploadAdapter from '@ckeditor/ckeditor5-adapter-ckfinder/src/uploadadapter';\r\nimport Autoformat from '@ckeditor/ckeditor5-autoformat/src/autoformat';\r\nimport Bold from '@ckeditor/ckeditor5-basic-styles/src/bold';\r\nimport Italic from '@ckeditor/ckeditor5-basic-styles/src/italic';\r\nimport BlockQuote from '@ckeditor/ckeditor5-block-quote/src/blockquote';\r\nimport CKFinder from '@ckeditor/ckeditor5-ckfinder/src/ckfinder';\r\nimport EasyImage from '@ckeditor/ckeditor5-easy-image/src/easyimage';\r\nimport Heading from '@ckeditor/ckeditor5-heading/src/heading';\r\nimport Image from '@ckeditor/ckeditor5-image/src/image';\r\nimport ImageCaption from '@ckeditor/ckeditor5-image/src/imagecaption';\r\nimport ImageStyle from '@ckeditor/ckeditor5-image/src/imagestyle';\r\nimport ImageToolbar from '@ckeditor/ckeditor5-image/src/imagetoolbar';\r\nimport ImageUpload from '@ckeditor/ckeditor5-image/src/imageupload';\r\nimport ImageResize from '@ckeditor/ckeditor5-image/src/imageresize';\r\nimport InsertImage from '@brutalredemption/ckeditor5-insert-image/src/insert-image'; //ADDED\r\nimport Indent from '@ckeditor/ckeditor5-indent/src/indent';\r\nimport Link from '@ckeditor/ckeditor5-link/src/link';\r\nimport List from '@ckeditor/ckeditor5-list/src/list';\r\nimport MediaEmbed from '@ckeditor/ckeditor5-media-embed/src/mediaembed';\r\nimport Paragraph from '@ckeditor/ckeditor5-paragraph/src/paragraph';\r\nimport PasteFromOffice from '@ckeditor/ckeditor5-paste-from-office/src/pastefromoffice';\r\nimport Table from '@ckeditor/ckeditor5-table/src/table';\r\nimport TableToolbar from '@ckeditor/ckeditor5-table/src/tabletoolbar';\r\nimport TextTransformation from '@ckeditor/ckeditor5-typing/src/texttransformation';\r\nimport CloudServices from '@ckeditor/ckeditor5-cloud-services/src/cloudservices';\r\nimport SourceEditing from '@ckeditor/ckeditor5-source-editing/src/sourceediting';\r\nimport Underline from '@ckeditor/ckeditor5-basic-styles/src/underline';\r\nimport Clipboard from '@ckeditor/ckeditor5-clipboard/src/clipboard';\r\nimport SpecialCharacters from '@ckeditor/ckeditor5-special-characters/src/specialcharacters';\r\nimport SpecialCharactersEssentials from '@ckeditor/ckeditor5-special-characters/src/specialcharactersessentials';\r\nimport Strikethrough from '@ckeditor/ckeditor5-basic-styles/src/strikethrough';\r\nimport Subscript from '@ckeditor/ckeditor5-basic-styles/src/subscript';\r\nimport Superscript from '@ckeditor/ckeditor5-basic-styles/src/superscript';\r\nimport HorizontalLine from '@ckeditor/ckeditor5-horizontal-line/src/horizontalline';\r\nimport FontColor from '@ckeditor/ckeditor5-font/src/fontcolor';\r\nimport FontFamily from '@ckeditor/ckeditor5-font/src/fontfamily';\r\nimport FontSize from '@ckeditor/ckeditor5-font/src/fontsize';\r\n\r\nexport default class ClassicEditor extends ClassicEditorBase {}\r\n\r\n// Plugins to include in the build.\r\nClassicEditor.builtinPlugins = [\r\n\tEssentials,\r\n\tUploadAdapter,\r\n\tAutoformat,\r\n\tBold,\r\n\tItalic,\r\n\tBlockQuote,\r\n\tCKFinder,\r\n\tCloudServices,\r\n\tEasyImage,\r\n\tHeading,\r\n\tImage,\r\n\tImageCaption,\r\n\tImageStyle,\r\n\tImageToolbar,\r\n\tImageUpload,\r\n\tInsertImage, //ADDED\r\n\tImageResize,\r\n\tIndent,\r\n\tLink,\r\n\tList,\r\n\tMediaEmbed,\r\n\tParagraph,\r\n\tPasteFromOffice,\r\n\tTable,\r\n\tTableToolbar,\r\n\tTextTransformation,\r\n    SourceEditing,\r\n\tUnderline,\r\n\tClipboard,\r\n\tSpecialCharacters,\r\n\tSpecialCharactersEssentials,\r\n\tStrikethrough,\r\n\tSubscript,\r\n\tSuperscript,\r\n\tHorizontalLine,\r\n\tFontColor,\r\n\tFontFamily,\r\n\tFontSize\r\n];\r\n\r\n// Editor configuration.\r\nClassicEditor.defaultConfig = {\r\n\ttoolbar: {\r\n\t\titems: [\r\n\t\t\t'bold',\r\n\t\t\t'italic',\r\n\t\t\t'underline',\r\n\t\t\t'strikethrough',\r\n\t\t\t'|',\r\n\t\t\t'subscript',\r\n\t\t\t'superscript',\r\n\t\t\t'|',\r\n\t\t\t'bulletedList',\r\n\t\t\t'numberedList',\r\n\t\t\t'outdent',\r\n\t\t\t'indent',\r\n\t\t\t'blockQuote',\r\n\t\t\t'|',\r\n\t\t\t'alignment',\r\n\t\t\t'|',\r\n\t\t\t'link',\r\n\t\t\t'mediaEmbed',\r\n\t\t\t'|',\r\n\t\t\t'insertTable',\r\n\t\t\t'horizontalLine',\r\n\t\t\t'specialCharacters',\r\n\t\t\t'|',\r\n\t\t\t'undo',\r\n\t\t\t'redo',\r\n\t\t\t'-',\r\n\t\t\t'heading',\r\n\t\t\t'fontFamily',\r\n\t\t\t'fontSize',\r\n\t\t\t'fontColor',\r\n\t\t\t'fontBackgroundColor',\r\n\t\t\t'insertImage', //ADDED\r\n\t\t]\r\n\t},\r\n\timage: {\r\n\t\ttoolbar: [\r\n\t\t\t'imageStyle:inline',\r\n\t\t\t'imageStyle:block',\r\n\t\t\t'imageStyle:side',\r\n\t\t\t'|',\r\n\t\t\t'toggleImageCaption',\r\n\t\t\t'imageTextAlternative',\r\n\t\t\t'imageCaption',\r\n\t\t\t'imageResize',\r\n\t\t]\r\n\t},\r\n\ttable: {\r\n\t\tcontentToolbar: [\r\n\t\t\t'tableColumn',\r\n\t\t\t'tableRow',\r\n\t\t\t'mergeTableCells'\r\n\t\t]\r\n\t},\r\n\t// This value must be kept in sync with the language defined in webpack.config.js.\r\n\tlanguage: 'en'\r\n};\r\n\r\n\r\n\r\n\r\n```\r\n\r\n\r\n","readmeFilename":"README.md"}