@manuscripts/transform 2.0.4-LEAN-3083-2 → 2.0.4-LEAN-3083-3

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.
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.isAffiliationNode = exports.affiliation = void 0;
4
4
  exports.affiliation = {
5
+ content: 'inline*',
5
6
  attrs: {
6
7
  id: { default: '' },
7
8
  institution: { default: '' },
@@ -22,7 +23,7 @@ exports.affiliation = {
22
23
  },
23
24
  dataTracked: { default: null },
24
25
  },
25
- group: 'block element',
26
+ group: 'block',
26
27
  parseDOM: [
27
28
  {
28
29
  tag: 'div.affiliation',
@@ -20,7 +20,7 @@ exports.contributor = {
20
20
  dataTracked: { default: null },
21
21
  contents: { default: '' },
22
22
  },
23
- group: 'block element',
23
+ group: 'block',
24
24
  toDOM: (node) => {
25
25
  const contributorNode = node;
26
26
  return [
@@ -1,4 +1,5 @@
1
1
  export const affiliation = {
2
+ content: 'inline*',
2
3
  attrs: {
3
4
  id: { default: '' },
4
5
  institution: { default: '' },
@@ -19,7 +20,7 @@ export const affiliation = {
19
20
  },
20
21
  dataTracked: { default: null },
21
22
  },
22
- group: 'block element',
23
+ group: 'block',
23
24
  parseDOM: [
24
25
  {
25
26
  tag: 'div.affiliation',
@@ -17,7 +17,7 @@ export const contributor = {
17
17
  dataTracked: { default: null },
18
18
  contents: { default: '' },
19
19
  },
20
- group: 'block element',
20
+ group: 'block',
21
21
  toDOM: (node) => {
22
22
  const contributorNode = node;
23
23
  return [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@manuscripts/transform",
3
3
  "description": "ProseMirror transformer for Manuscripts applications",
4
- "version": "2.0.4-LEAN-3083-2",
4
+ "version": "2.0.4-LEAN-3083-3",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-transform",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",