pro-editor-schema 1.6.12-dev.1 → 1.6.12-dev.2

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,12 @@ 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 a footnote, so a language phrase can span a
2633
+ // sentence that carries a footnote call-out.
2634
+ { code: "footnote1", required: false }
2635
+ ]
2631
2636
  });
2632
2637
 
2633
2638
  // src/schema/elementSchemas/inlineElements/index.ts
package/dist/index.mjs CHANGED
@@ -2501,7 +2501,12 @@ 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 a footnote, so a language phrase can span a
2507
+ // sentence that carries a footnote call-out.
2508
+ { code: "footnote1", required: false }
2509
+ ]
2505
2510
  });
2506
2511
 
2507
2512
  // 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.2",
4
4
  "description": "Pro Editor XML schemas",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",