@manuscripts/article-editor 3.8.37-test-4475.1 → 3.8.37-test-4475-v0.0

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.
@@ -28,7 +28,7 @@ const handleTextChange = (suggestion, state) => {
28
28
  nodeName =
29
29
  parentNodeType === transform_1.schema.nodes.paragraph ||
30
30
  parentNodeType === transform_1.schema.nodes.text_block
31
- ? 'text-test1'
31
+ ? 'text-test2'
32
32
  : parentNodeName + ' text-test2';
33
33
  if (parentNodeType === transform_1.schema.nodes.alt_title) {
34
34
  nodeName = parentNode.attrs.type + ' title';
@@ -154,7 +154,7 @@ exports.handleNodeChange = handleNodeChange;
154
154
  const handleGroupChanges = (suggestions, view, doc, dataTracked) => {
155
155
  return {
156
156
  operation: (0, tracking_1.changeOperationAlias)(dataTracked.operation),
157
- nodeName: 'Text-test3',
157
+ nodeName: 'Text-test1',
158
158
  content: suggestions
159
159
  .map((change) => track_changes_plugin_1.ChangeSet.isTextChange(change)
160
160
  ? (0, exports.handleTextChange)(change, view.state)
@@ -25,7 +25,7 @@ export const handleTextChange = (suggestion, state) => {
25
25
  nodeName =
26
26
  parentNodeType === schema.nodes.paragraph ||
27
27
  parentNodeType === schema.nodes.text_block
28
- ? 'text-test1'
28
+ ? 'text-test2'
29
29
  : parentNodeName + ' text-test2';
30
30
  if (parentNodeType === schema.nodes.alt_title) {
31
31
  nodeName = parentNode.attrs.type + ' title';
@@ -149,7 +149,7 @@ export const handleNodeChange = (suggestion, state) => {
149
149
  export const handleGroupChanges = (suggestions, view, doc, dataTracked) => {
150
150
  return {
151
151
  operation: changeOperationAlias(dataTracked.operation),
152
- nodeName: 'Text-test3',
152
+ nodeName: 'Text-test1',
153
153
  content: suggestions
154
154
  .map((change) => ChangeSet.isTextChange(change)
155
155
  ? handleTextChange(change, view.state)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manuscripts/article-editor",
3
- "version": "3.8.37-test-4475.1",
3
+ "version": "3.8.37-test-4475-v0.0",
4
4
  "license": "CPAL-1.0",
5
5
  "description": "React components for editing and viewing manuscripts",
6
6
  "repository": "github:Atypon-OpenSource/manuscripts-article-editor",