From 876e5099508e3ed5a1d8f8535c70691e892b19a2 Mon Sep 17 00:00:00 2001 From: Cameron Bowler Date: Fri, 23 Jun 2023 10:19:01 -0700 Subject: [PATCH] Test Updates and misc Fixes --- ppr-ui/src/assets/styles/base.scss | 3 ++ .../generalCollateral/GenColSummary.vue | 2 +- .../src/components/common/WysiwygEditor.vue | 18 +++++-- ppr-ui/src/resources/wysiwygToolbarConfig.ts | 6 +-- ppr-ui/tests/unit/WysiwygEditor.spec.ts | 50 +++++++++++++++++++ ppr-ui/tests/unit/utils/helper-functions.ts | 33 +++++++++++- 6 files changed, 102 insertions(+), 10 deletions(-) create mode 100644 ppr-ui/tests/unit/WysiwygEditor.spec.ts diff --git a/ppr-ui/src/assets/styles/base.scss b/ppr-ui/src/assets/styles/base.scss index e1ffe730b..d968fbb53 100644 --- a/ppr-ui/src/assets/styles/base.scss +++ b/ppr-ui/src/assets/styles/base.scss @@ -802,4 +802,7 @@ tr.registration-row.draft-registration-row.added-reg-effect td.actions-cell, margin: 0; } } +} +.theme--light.v-application code { + white-space: break-spaces; } \ No newline at end of file diff --git a/ppr-ui/src/components/collateral/generalCollateral/GenColSummary.vue b/ppr-ui/src/components/collateral/generalCollateral/GenColSummary.vue index 9d791551e..be1866647 100644 --- a/ppr-ui/src/components/collateral/generalCollateral/GenColSummary.vue +++ b/ppr-ui/src/components/collateral/generalCollateral/GenColSummary.vue @@ -157,7 +157,7 @@ -
+

diff --git a/ppr-ui/src/components/common/WysiwygEditor.vue b/ppr-ui/src/components/common/WysiwygEditor.vue index 59ae88787..c3f6a958b 100644 --- a/ppr-ui/src/components/common/WysiwygEditor.vue +++ b/ppr-ui/src/components/common/WysiwygEditor.vue @@ -38,8 +38,8 @@