pro-editor-schema 1.6.12-dev.1 → 1.6.12-dev.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.
package/dist/index.js CHANGED
@@ -2627,7 +2627,13 @@ var PHRASE_SCHEMA = createSchema({
2627
2627
  tag: PHRASE_TAG,
2628
2628
  requiredAttributes: [...ID_ATTRS, "xml:lang"],
2629
2629
  optionalAttributes: [],
2630
- allowedChildrenCodes: [...ATOM_CODES_ALLOWED_CHILDREN]
2630
+ allowedChildrenCodes: [
2631
+ ...ATOM_CODES_ALLOWED_CHILDREN,
2632
+ // DocBook lets a phrase hold footnotes and links, so a language phrase
2633
+ // can span a sentence that carries a footnote call-out or a citation.
2634
+ { code: "footnote1", required: false },
2635
+ { code: "link", required: false }
2636
+ ]
2631
2637
  });
2632
2638
 
2633
2639
  // src/schema/elementSchemas/inlineElements/index.ts
package/dist/index.mjs CHANGED
@@ -2501,7 +2501,13 @@ var PHRASE_SCHEMA = createSchema({
2501
2501
  tag: PHRASE_TAG,
2502
2502
  requiredAttributes: [...ID_ATTRS, "xml:lang"],
2503
2503
  optionalAttributes: [],
2504
- allowedChildrenCodes: [...ATOM_CODES_ALLOWED_CHILDREN]
2504
+ allowedChildrenCodes: [
2505
+ ...ATOM_CODES_ALLOWED_CHILDREN,
2506
+ // DocBook lets a phrase hold footnotes and links, so a language phrase
2507
+ // can span a sentence that carries a footnote call-out or a citation.
2508
+ { code: "footnote1", required: false },
2509
+ { code: "link", required: false }
2510
+ ]
2505
2511
  });
2506
2512
 
2507
2513
  // src/schema/elementSchemas/inlineElements/index.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pro-editor-schema",
3
- "version": "1.6.12-dev.1",
3
+ "version": "1.6.12-dev.3",
4
4
  "description": "Pro Editor XML schemas",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",