@alfresco/adf-process-services-cloud 8.4.0-22060068909 → 8.4.0-22092515407

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.
@@ -14311,7 +14311,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
14311
14311
  class RichTextParserService {
14312
14312
  static { this.CUSTOM_PARSER = {
14313
14313
  header: (block) => {
14314
- if (!block.data || !block.data.text || !block.data.level) {
14314
+ if (!block.data?.text || !block.data.level) {
14315
14315
  return '';
14316
14316
  }
14317
14317
  const paragraphAlign = block.data.alignment || block.data.align || block.tunes?.anyTuneName?.alignment;
@@ -14323,7 +14323,7 @@ class RichTextParserService {
14323
14323
  }
14324
14324
  },
14325
14325
  paragraph: (block) => {
14326
- if (!block.data || !block.data.text) {
14326
+ if (!block.data?.text) {
14327
14327
  return '';
14328
14328
  }
14329
14329
  const paragraphAlign = block.data.alignment || block.data.align || block.tunes?.anyTuneName?.alignment;