@manuscripts/transform 4.3.31 → 4.3.33
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.
- package/dist/cjs/jats/exporter/jats-exporter.js +1 -1
- package/dist/cjs/schema/index.js +1 -0
- package/dist/cjs/version.js +1 -1
- package/dist/es/jats/exporter/jats-exporter.js +1 -1
- package/dist/es/schema/index.js +1 -0
- package/dist/es/version.js +1 -1
- package/dist/types/schema/index.d.ts +1 -0
- package/dist/types/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -574,7 +574,7 @@ class JATSExporter {
|
|
|
574
574
|
return cross.attrs.label ?? '';
|
|
575
575
|
}
|
|
576
576
|
const rid = rids[0];
|
|
577
|
-
const text = cross.attrs.label
|
|
577
|
+
const text = cross.attrs.label || this.labelTargets.get(rid)?.label;
|
|
578
578
|
const target = (0, prosemirror_utils_1.findChildrenByAttr)(this.manuscriptNode, (attrs) => attrs.id === rid)[0]?.node;
|
|
579
579
|
if (!target) {
|
|
580
580
|
return text ?? '';
|
package/dist/cjs/schema/index.js
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
|
+
*
|
|
16
17
|
*/
|
|
17
18
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
19
|
if (k2 === undefined) k2 = k;
|
package/dist/cjs/version.js
CHANGED
|
@@ -534,7 +534,7 @@ export class JATSExporter {
|
|
|
534
534
|
return cross.attrs.label ?? '';
|
|
535
535
|
}
|
|
536
536
|
const rid = rids[0];
|
|
537
|
-
const text = cross.attrs.label
|
|
537
|
+
const text = cross.attrs.label || this.labelTargets.get(rid)?.label;
|
|
538
538
|
const target = findChildrenByAttr(this.manuscriptNode, (attrs) => attrs.id === rid)[0]?.node;
|
|
539
539
|
if (!target) {
|
|
540
540
|
return text ?? '';
|
package/dist/es/schema/index.js
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
|
+
*
|
|
15
16
|
*/
|
|
16
17
|
import { Schema } from 'prosemirror-model';
|
|
17
18
|
import { bold, code, italic, smallcaps, strikethrough, styled, subscript, superscript, tracked_delete, tracked_insert, underline, } from './marks';
|
package/dist/es/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "4.3.
|
|
1
|
+
export const VERSION = "4.3.33";
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
|
+
*
|
|
15
16
|
*/
|
|
16
17
|
import { Schema } from 'prosemirror-model';
|
|
17
18
|
import { Marks, Nodes } from './types';
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "4.3.
|
|
1
|
+
export declare const VERSION = "4.3.33";
|
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": "4.3.
|
|
4
|
+
"version": "4.3.33",
|
|
5
5
|
"repository": "github:Atypon-OpenSource/manuscripts-transform",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"main": "dist/cjs",
|