
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@autosync/atx-summernote-image-attributes
Advanced tools
Summernote-image-attributes has undergone a make over, we redesigned the Dialog Layout to make it easier to use.
A plugin for the Summernote WYSIWYG editor.
Adds a button to the image popover to edit title, alt, class and style attributes, and Links with relevant Attributes.
Include the following code after including Summernote, to change the language from the default (en-US) you must add the lang file after the plugin.
<script src="summernote-image-attributes.js"></script>
<script src="lang/[language-COUNTRY].js"></script>
Currently available in US English (Default), Spanish, French, Chinese (Traditional), Italian, German and Turkish!
Finally, customize the Summernote image popover.
$(document).ready(function() {
$('#summernote').summernote({
popover: {
image: [
['custom', ['imageAttributes']],
['imagesize', ['imageSize100', 'imageSize50', 'imageSize25']],
['float', ['floatLeft', 'floatRight', 'floatNone']],
['remove', ['removeMedia']]
],
},
lang: 'en-US', // Change to your chosen language
imageAttributes:{
icon:'<i class="note-icon-pencil"/>',
removeEmpty:false, // true = remove attributes | false = leave empty if present
disableUpload: false // true = don't display Upload Options | Display Upload Options
}
});
});
FAQs
Summernote plugin to edit image attributes
The npm package @autosync/atx-summernote-image-attributes receives a total of 4 weekly downloads. As such, @autosync/atx-summernote-image-attributes popularity was classified as not popular.
We found that @autosync/atx-summernote-image-attributes demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.