Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@remirror/extension-drop-cursor
Advanced tools
A cursor for the ages. Drag and drop content in your editor with class.
A cursor for the ages. Drag and drop content in your editor with class.
yarn add @remirror/extension-drop-cursor # yarn
pnpm add @remirror/extension-drop-cursor # pnpm
npm install @remirror/extension-drop-cursor # npm
This is included by default when you install the recommended remirror
package. All exports are also available via the entry-point, remirror/extensions
.
The following code sample will create a limited editor and run the available commands from this extension.
import { ExtensionPriority, RemirrorManager } from 'remirror';
import { CorePreset, DropCursorExtension } from 'remirror/extensions';
// Create the codeBlock extension
const dropCursorExtension = new DropCursorExtension({ supportedLanguages: [typescript, jsx] });
const corePreset = new CorePreset();
// Create the Editor Manager with the codeBlock extension passed through.
const manager = RemirrorManager.create([dropCursorExtension, corePreset]);
// Pass the dom element to the editor. If you are using `@remirror/react` or
// other framework wrappers then this is handled for you.
const element = document.createElement('div');
document.body.append(element);
// Add the view to the editor manager.
manager.addView(element);
FAQs
A cursor for the ages. Drag and drop content in your editor with class.
The npm package @remirror/extension-drop-cursor receives a total of 28,947 weekly downloads. As such, @remirror/extension-drop-cursor popularity was classified as popular.
We found that @remirror/extension-drop-cursor demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.