pro-editor-schema 0.0.1-alpha.7 → 0.0.1-alpha.8

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
@@ -459,7 +459,10 @@ var SCHEMAS = [
459
459
  ...INLINE_ELEMENT_SCHEMAS
460
460
  ];
461
461
  var SCHEMA_MAP = new Map(
462
- SCHEMAS.map((schema) => [schema.tag + schema.role, schema])
462
+ SCHEMAS.map((schema) => [
463
+ schema.tag.toUpperCase() + (schema.role?.toUpperCase() ?? ""),
464
+ schema
465
+ ])
463
466
  );
464
467
 
465
468
  // src/schema/shared/ignoredElements.ts
package/dist/index.mjs CHANGED
@@ -409,7 +409,10 @@ var SCHEMAS = [
409
409
  ...INLINE_ELEMENT_SCHEMAS
410
410
  ];
411
411
  var SCHEMA_MAP = new Map(
412
- SCHEMAS.map((schema) => [schema.tag + schema.role, schema])
412
+ SCHEMAS.map((schema) => [
413
+ schema.tag.toUpperCase() + (schema.role?.toUpperCase() ?? ""),
414
+ schema
415
+ ])
413
416
  );
414
417
 
415
418
  // src/schema/shared/ignoredElements.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pro-editor-schema",
3
- "version": "0.0.1-alpha.7",
3
+ "version": "0.0.1-alpha.8",
4
4
  "description": "Pro Editor XML schemas",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",