✏️(project) automatic typo correction
Fix typos in the project.
This commit is contained in:
@@ -141,7 +141,7 @@ test.describe('Doc Export', () => {
|
||||
|
||||
/**
|
||||
* This test tell us that the export to pdf is working with images
|
||||
* but it does not tell us if the images are beeing displayed correctly
|
||||
* but it does not tell us if the images are being displayed correctly
|
||||
* in the pdf.
|
||||
*
|
||||
* TODO: Check if the images are displayed correctly in the pdf
|
||||
|
||||
@@ -10,7 +10,7 @@ type TextSizes = keyof typeof sizes;
|
||||
|
||||
export interface TextProps extends BoxProps {
|
||||
as?: 'p' | 'span' | 'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
||||
$elipsis?: boolean;
|
||||
$ellipsis?: boolean;
|
||||
$weight?: CSSProperties['fontWeight'];
|
||||
$textAlign?: CSSProperties['textAlign'];
|
||||
$size?: TextSizes | (string & {});
|
||||
@@ -50,8 +50,8 @@ export const TextStyled = styled(Box)<TextProps>`
|
||||
${({ $theme, $variation }) =>
|
||||
`color: var(--c--theme--colors--${$theme}-${$variation});`}
|
||||
${({ $color }) => $color && `color: ${$color};`}
|
||||
${({ $elipsis }) =>
|
||||
$elipsis &&
|
||||
${({ $ellipsis }) =>
|
||||
$ellipsis &&
|
||||
`white-space: nowrap; overflow: hidden; text-overflow: ellipsis;`}
|
||||
`;
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ const useSaveDoc = (docId: string, yDoc: Y.Doc, canSave: boolean) => {
|
||||
const isSaving = saveDoc();
|
||||
|
||||
/**
|
||||
* Firefox does not trigger the request everytime the user leaves the page.
|
||||
* Firefox does not trigger the request every time the user leaves the page.
|
||||
* Plus the request is not intercepted by the service worker.
|
||||
* So we prevent the default behavior to have the popup asking the user
|
||||
* if he wants to leave the page, by adding the popup, we let the time to the
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* See:
|
||||
* https://github.com/TypeCellOS/BlockNote/blob/004c0bf720fe1415c497ad56449015c5f4dd7ba0/packages/xl-pdf-exporter/src/pdf/util/table/Table.tsx
|
||||
*
|
||||
* We succeded to manage the colspan, but rowspan is not supported yet.
|
||||
* We succeeded to manage the colspan, but rowspan is not supported yet.
|
||||
*/
|
||||
|
||||
import { TD, TR, Table } from '@ag-media/react-pdf-table';
|
||||
|
||||
@@ -185,7 +185,7 @@ registerRoute(
|
||||
);
|
||||
|
||||
/**
|
||||
* Cache stategy static files images (images / svg)
|
||||
* Cache strategy static files images (images / svg)
|
||||
*/
|
||||
registerRoute(
|
||||
({ request }) => request.destination === 'image',
|
||||
@@ -201,7 +201,7 @@ registerRoute(
|
||||
);
|
||||
|
||||
/**
|
||||
* Cache stategy static files fonts
|
||||
* Cache strategy static files fonts
|
||||
*/
|
||||
googleFontsCache();
|
||||
registerRoute(
|
||||
@@ -218,7 +218,7 @@ registerRoute(
|
||||
);
|
||||
|
||||
/**
|
||||
* Cache stategy static files (css, js, workers)
|
||||
* Cache strategy static files (css, js, workers)
|
||||
*/
|
||||
registerRoute(
|
||||
({ request }) =>
|
||||
|
||||
Reference in New Issue
Block a user