
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
bootstrap-expandable-input
Advanced tools
A Bootstrap plugin to use <{span|div|...} contenteditable> as expandable inputs.
A Bootstrap plugin to use <{span|div|...} contenteditable> as expandable inputs.
Simplest way to install is using bower:
bower install --save bootstrap-expandable-input
<!-- load bootstrap assets -->
<link rel="stylesheet" type="text/css" href="bootstrap.css">
<script src="bootstrap.js"></script>
<!-- load expandable-input assets -->
<link rel="stylesheet" type="text/css" href="bootstrap-expandable-input.css">
<script src="bootstrap-expandable-input.js"></script>
<!-- The behaviour is initialzied on first interaction -->
<p>
<strong>Author:</strong>
<span contenteditable name="name" placeholder="Joe Doe"></span> |
<span contenteditable name="email" placeholder="joe@example.com"></span>
</p>
<p contenteditable placeholder="Write comment"></p>
To listen to changes on the inputs
$('[name=email]').on('input', function(event) {
console.log('Current name is:', $(this).val())
})
$.fn.val()
& $.fn.select()
are being patched to work with the contenteditable
inputsdisplay: inline
is currently not supported. It gets set to inline-block when initialized.The Expandable Input Plugin have been authored by Gregor Martynus, proud member of Team Hoodie. If you feel like it, please support our work on Hoodie: gittip us!.
License: MIT
FAQs
A Bootstrap plugin to use <{span|div|...} contenteditable> as expandable inputs.
We found that bootstrap-expandable-input demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.