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 +4 -1
- package/dist/index.mjs +4 -1
- package/package.json +1 -1
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) => [
|
|
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) => [
|
|
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
|