Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@remirror/core-extensions

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remirror/core-extensions - npm Package Compare versions

Comparing version 0.11.1 to 0.13.1

7

CHANGELOG.md
# @remirror/core-extensions
## 0.13.1
### Patch Changes
- 4dbb7461: Prevent the link selection from selecting word on click if there is already a selection. Fixes
#278.
## 0.11.1

@@ -4,0 +11,0 @@

4

lib/marks/link-extension.js

@@ -37,4 +37,4 @@ 'use strict';

dispatch = _ref.dispatch;
// Expand selection
var range = core.getSelectedWord(state);
// if the selection is empty, expand it
var range = state.selection.empty ? core.getSelectedWord(state) : state.selection;

@@ -41,0 +41,0 @@ if (!range) {

{
"name": "@remirror/core-extensions",
"version": "0.11.1",
"version": "0.13.1",
"description": "Provides the core extensions for your remirror editor",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/remirror/remirror/tree/master/@remirror/core-extensions",

@@ -78,4 +78,5 @@ import { Plugin, TextSelection } from 'prosemirror-state';

'Mod-k': ({ state, dispatch }) => {
// Expand selection
const range = getSelectedWord(state);
// if the selection is empty, expand it
const range = state.selection.empty ? getSelectedWord(state) : state.selection;
if (!range) {

@@ -82,0 +83,0 @@ return false;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc