diff --git a/packages/elements/src/components/HtmlRender/utils.tsx b/packages/elements/src/components/HtmlRender/utils.tsx index 689448df93..f717379338 100644 --- a/packages/elements/src/components/HtmlRender/utils.tsx +++ b/packages/elements/src/components/HtmlRender/utils.tsx @@ -64,6 +64,8 @@ const sortTags = (domTag: Element, index: number, diffing: boolean) => { return

{children}

case 'h2': return
{children}
+ case 'h5': + return
{children}
case 'h6': return
{children}
case 'i': diff --git a/packages/elements/src/styles/vendor/pell.scss b/packages/elements/src/styles/vendor/pell.scss index 158d8008a9..79c683def8 100644 --- a/packages/elements/src/styles/vendor/pell.scss +++ b/packages/elements/src/styles/vendor/pell.scss @@ -63,6 +63,16 @@ $pell-content-padding: 10px !default; font-weight: bold; } + h5 { + display: block; + font-size: 1.25rem; + margin-block-start: 0.83rem; + margin-block-end: 0.83rem; + margin-inline-start: 0px; + margin-inline-end: 0px; + font-weight: bold; + } + h6 { display: block; font-size: 1rem; @@ -110,6 +120,6 @@ $pell-content-padding: 10px !default; div[contenteditable='true']:empty:before { content: attr(placeholder); - color: $grey-lighter; + color: #d3d3d3; display: block; /* For Firefox */ } diff --git a/packages/elements/src/tests/badges/badge-branches.svg b/packages/elements/src/tests/badges/badge-branches.svg index f06a38b897..bc2845b187 100644 --- a/packages/elements/src/tests/badges/badge-branches.svg +++ b/packages/elements/src/tests/badges/badge-branches.svg @@ -1 +1 @@ -Coverage:branchesCoverage:branches77.27%77.27% \ No newline at end of file +Coverage:branchesCoverage:branches77.15%77.15% \ No newline at end of file diff --git a/packages/elements/src/tests/badges/badge-lines.svg b/packages/elements/src/tests/badges/badge-lines.svg index 298b94a7b3..ccbfa7b577 100644 --- a/packages/elements/src/tests/badges/badge-lines.svg +++ b/packages/elements/src/tests/badges/badge-lines.svg @@ -1 +1 @@ -Coverage:linesCoverage:lines96.48%96.48% \ No newline at end of file +Coverage:linesCoverage:lines96.35%96.35% \ No newline at end of file diff --git a/packages/elements/src/tests/badges/badge-statements.svg b/packages/elements/src/tests/badges/badge-statements.svg index 0d530fb661..726ad7f8ab 100644 --- a/packages/elements/src/tests/badges/badge-statements.svg +++ b/packages/elements/src/tests/badges/badge-statements.svg @@ -1 +1 @@ -Coverage:statementsCoverage:statements96.34%96.34% \ No newline at end of file +Coverage:statementsCoverage:statements96.22%96.22% \ No newline at end of file diff --git a/packages/marketplace/src/components/pages/developer-submit-app.tsx b/packages/marketplace/src/components/pages/developer-submit-app.tsx index e0cde0833c..e7b73de325 100644 --- a/packages/marketplace/src/components/pages/developer-submit-app.tsx +++ b/packages/marketplace/src/components/pages/developer-submit-app.tsx @@ -558,9 +558,9 @@ export const SubmitApp: React.FC = ({ 'link', { name: 'test', - icon: 'H6', - title: 'Add heading 6', - result: () => exec('formatBlock', '
'), + icon: 'H5', + title: 'Add heading 5', + result: () => exec('formatBlock', '
'), }, ]} dataTest="submit-app-description" diff --git a/packages/marketplace/src/tests/badges/badge-branches.svg b/packages/marketplace/src/tests/badges/badge-branches.svg index d18757b266..ddbfb09275 100644 --- a/packages/marketplace/src/tests/badges/badge-branches.svg +++ b/packages/marketplace/src/tests/badges/badge-branches.svg @@ -1 +1 @@ -Coverage:branchesCoverage:branches70.22%70.22% +Coverage:branchesCoverage:branches69.96%69.96% \ No newline at end of file diff --git a/packages/marketplace/src/tests/badges/badge-lines.svg b/packages/marketplace/src/tests/badges/badge-lines.svg index b4b6b01b63..867be3d81a 100644 --- a/packages/marketplace/src/tests/badges/badge-lines.svg +++ b/packages/marketplace/src/tests/badges/badge-lines.svg @@ -1 +1 @@ -Coverage:linesCoverage:lines89.67%89.67% +Coverage:linesCoverage:lines89.48%89.48% \ No newline at end of file diff --git a/packages/marketplace/src/tests/badges/badge-statements.svg b/packages/marketplace/src/tests/badges/badge-statements.svg index 81fc7449c4..fc57b144f3 100644 --- a/packages/marketplace/src/tests/badges/badge-statements.svg +++ b/packages/marketplace/src/tests/badges/badge-statements.svg @@ -1 +1 @@ -Coverage:statementsCoverage:statements88.78%88.78% +Coverage:statementsCoverage:statements88.61%88.61% \ No newline at end of file