{"_id":"@autosync/atx-summernote-image-attributes","_rev":"11-2fe306a7b1cc4d286b45d52092ac95ec","name":"@autosync/atx-summernote-image-attributes","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.3":{"name":"@autosync/atx-summernote-image-attributes","version":"1.0.3","author":{"name":"DiemenDesign"},"_id":"@autosync/atx-summernote-image-attributes@1.0.3","maintainers":[{"name":"vinnygambiny","email":"vdrouin@activix.ca"},{"name":"fellipers","email":"frodrigues@activix.ca"},{"name":"jocelyndeslauriers","email":"jdeslauriers@activix.ca"}],"dist":{"shasum":"84690086ae3425fff755332983fa2b6f60d490a7","tarball":"https://registry.npmjs.org/@autosync/atx-summernote-image-attributes/-/atx-summernote-image-attributes-1.0.3.tgz","fileCount":12,"integrity":"sha512-TcsVnfLo99FJsGsrWVa6cX69yT7WPAqJkqZX7htXoe8FuN6RkQdKDRzs/7PXJgghbjmFLuQUj6m8+aVMgEn7/w==","signatures":[{"sig":"MEUCIGCzHkXm88k0KovVOpQ3wrQ1K2kDpGRkpO3OmftlULaVAiEAt30ncu6yy3ii35WJzxH5cIyyhwWaAI2CxI1eZtSDD0c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27546},"main":"summernote-image-attributes.js","gitHead":"5e7c2fb15832013aaf848527e65de851cdbff9a1","_npmUser":{"name":"fellipers","email":"frodrigues@activix.ca"},"_npmVersion":"8.1.0","description":"Summernote plugin to edit image attributes","directories":{},"_nodeVersion":"16.13.0","_hasShrinkwrap":false,"peerDependencies":{"summernote":"^0.8.18"},"_npmOperationalInternal":{"tmp":"tmp/atx-summernote-image-attributes_1.0.3_1696631440500_0.07180249796254401","host":"s3://npm-registry-packages"}}},"time":{"created":"2023-10-06T22:30:40.499Z","modified":"2024-12-19T03:46:07.263Z","1.0.2":"2023-10-06T22:26:15.000Z","1.0.3":"2023-10-06T22:30:40.723Z"},"author":{"name":"DiemenDesign"},"description":"Summernote plugin to edit image attributes","maintainers":[{"email":"frodrigues@activix.ca","name":"fellipers"},{"email":"jhonatandarosa@gmail.com","name":"jhonatandarosa"},{"email":"dgaudet@activix.ca","name":"dgaudet"},{"email":"vdrouin@activix.ca","name":"vinnygambiny"}],"readme":"# summernote-image-attributes\r\n\r\nSummernote-image-attributes has undergone a make over, we redesigned the Dialog Layout to make it easier to use.\r\n\r\nA plugin for the [Summernote](https://github.com/summernote/summernote/) WYSIWYG editor.\r\n\r\nAdds a button to the image popover to edit title, alt, class and style attributes, and Links with relevant Attributes.\r\n\r\n### Installation\r\n\r\n#### 1. Include JS\r\n\r\nInclude the following code after including Summernote, to change the language from the default (en-US) you must add the lang file after the plugin.\r\n\r\n````html\r\n<script src=\"summernote-image-attributes.js\"></script>\r\n<script src=\"lang/[language-COUNTRY].js\"></script>\r\n````\r\n\r\n#### 2. Supported languages\r\nCurrently available in US English (Default), Spanish, French, Chinese (Traditional), Italian, German and Turkish!\r\n\r\n#### 3. Summernote options\r\nFinally, customize the Summernote image popover.\r\n\r\n````javascript\r\n$(document).ready(function() {\r\n    $('#summernote').summernote({\r\n        popover: {\r\n            image: [\r\n                ['custom', ['imageAttributes']],\r\n                ['imagesize', ['imageSize100', 'imageSize50', 'imageSize25']],\r\n                ['float', ['floatLeft', 'floatRight', 'floatNone']],\r\n                ['remove', ['removeMedia']]\r\n            ],\r\n        },\r\n        lang: 'en-US', // Change to your chosen language\r\n        imageAttributes:{\r\n            icon:'<i class=\"note-icon-pencil\"/>',\r\n            removeEmpty:false, // true = remove attributes | false = leave empty if present\r\n            disableUpload: false // true = don't display Upload Options | Display Upload Options\r\n        }\r\n    });\r\n});\r\n````\r\n\r\n#### 4. Check out our other Summernote Plugins via our main Github page.\r\n- [Diemen Design](https://github.com/DiemenDesign/)\r\n\r\n### Contributors\r\n- Add links to Image\r\n  - Thank you to [minidc](https://github.com/ninidc)\r\n  - Thank you to [MarcosBL](https://github.com/MarcosBL)\r\n- French Translation\r\n  - Thank you to [b-alidr](https://github.com/b-alidra)\r\n- Chinese (Traditional) Translation\r\n  - Thank you to [horkenw](https://github.com/horkenw)\r\n- Italian Translation\r\n  - Thank you to [paolodadda](https://github.com/paolodadda)\r\n- German Translation and Horizontal Dialog Layout\r\n  - Thank you to [YaWK](https://github.com/YaWK)\r\n- Turkish Translation\r\n  - Thank you to [GoktugOzturk](https://github.com/GoktugOzturk)\r\n","readmeFilename":"README.md"}