@manuscripts/body-editor 2.8.25 → 2.8.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MATHJAX_VERSION = exports.VERSION = void 0;
4
- exports.VERSION = '2.8.25';
4
+ exports.VERSION = '2.8.27';
5
5
  exports.MATHJAX_VERSION = '3.2.2';
@@ -129,6 +129,7 @@ class LinkEditableView extends link_1.LinkView {
129
129
  const attrs = this.node.attrs;
130
130
  const href = attrs.href;
131
131
  const title = attrs.title;
132
+ this.dom.setAttribute('contenteditable', 'false');
132
133
  this.dom.setAttribute('href', (0, url_1.allowedHref)(href) ? href : '');
133
134
  this.dom.setAttribute('target', '_blank');
134
135
  this.dom.setAttribute('title', title || '');
@@ -1,2 +1,2 @@
1
- export const VERSION = '2.8.25';
1
+ export const VERSION = '2.8.27';
2
2
  export const MATHJAX_VERSION = '3.2.2';
@@ -123,6 +123,7 @@ export class LinkEditableView extends LinkView {
123
123
  const attrs = this.node.attrs;
124
124
  const href = attrs.href;
125
125
  const title = attrs.title;
126
+ this.dom.setAttribute('contenteditable', 'false');
126
127
  this.dom.setAttribute('href', allowedHref(href) ? href : '');
127
128
  this.dom.setAttribute('target', '_blank');
128
129
  this.dom.setAttribute('title', title || '');
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "2.8.25";
1
+ export declare const VERSION = "2.8.27";
2
2
  export declare const MATHJAX_VERSION = "3.2.2";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@manuscripts/body-editor",
3
3
  "description": "Prosemirror components for editing and viewing manuscripts",
4
- "version": "2.8.25",
4
+ "version": "2.8.27",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-body-editor",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",