Skip to content

Commit 5da8c04

Browse files
author
gjulivan
committed
fix: e2e and styling and icons
1 parent 702b399 commit 5da8c04

19 files changed

Lines changed: 1822 additions & 1973 deletions
6.05 KB
Loading
6.55 KB
Loading
-3.02 KB
Loading
5.91 KB
Loading
6.69 KB
Loading
20 KB
Loading

packages/pluggableWidgets/rich-text-web/src/__tests__/__snapshots__/RichText.spec.tsx.snap

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ exports[`Rich Text renders richtext widget with different config 1`] = `
576576
>
577577
<button
578578
class="icon-button"
579-
title="Blockquote"
579+
title="Block quote"
580580
type="button"
581581
>
582582
<span
@@ -661,7 +661,9 @@ exports[`Rich Text renders richtext widget with different config 1`] = `
661661
title="Keyboard shortcuts"
662662
type="button"
663663
>
664-
?
664+
<span
665+
class="icons icon-Help"
666+
/>
665667
</button>
666668
</div>
667669
</div>
Binary file not shown.

packages/pluggableWidgets/rich-text-web/src/components/toolbars/Toolbar.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,14 @@ $rte-shadow-color: #00000014 !default;
8989
.toolbar-dropdown-button {
9090
display: flex;
9191
gap: 4px;
92-
padding: 6px 6px 3px;
92+
padding: 6px 2px 2px 2px;
9393
min-width: 120px;
9494
justify-content: space-between;
9595
background: none;
9696
border: none;
97+
margin: 0 var(--spacing-smallest, 2px);
98+
border-radius: var(--border-radius-s, 4px);
99+
background-color: var(--gray-50, var(--gray-lighter, #f8f8f8));
97100

98101
.dropdown-label {
99102
flex: 1;

packages/pluggableWidgets/rich-text-web/src/components/toolbars/ToolbarConfig.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,7 @@ export type ToolbarActionType =
2525
| "configurationDropdown";
2626

2727
export type ColorPickerCommand =
28-
| "textColor"
29-
| "textHighlight"
30-
| "cellBackground"
31-
| "tableBackground"
32-
| "tableBorderColor";
28+
"textColor" | "textHighlight" | "cellBackground" | "tableBackground" | "tableBorderColor";
3329

3430
export type DialogCommand = "insertImage" | "insertVideo" | "insertLink";
3531

0 commit comments

Comments
 (0)