Virtual whiteboard for sketching hand-drawn like diagrams
test: revert node v16 requirement for tests (#4737)
David Luzarc3f6d6d3443e
diff --git a/.github/workflows/test.yml b/.github/workflows/test.ymlindex 2056c411dc..b64ea47352 100644--- a/.github/workflows/test.yml+++ b/.github/workflows/test.yml@@ -10,7 +10,7 @@ jobs:- name: Setup Node.js 14.xuses: actions/setup-node@v2with:- node-version: 16.x+ node-version: 14.x- name: Install and testrun: |yarn --frozen-lockfilediff --git a/src/element/textWysiwyg.tsx b/src/element/textWysiwyg.tsxindex 6cb90da0ea..b02eada741 100644--- a/src/element/textWysiwyg.tsx+++ b/src/element/textWysiwyg.tsx@@ -86,7 +86,7 @@ export const textWysiwyg = ({updatedElement: ExcalidrawTextElement,editable: HTMLTextAreaElement,) => {- const currentFont = editable.style.fontFamily.replaceAll('"', "");+ const currentFont = editable.style.fontFamily.replace(/"/g, "");if (getFontFamilyString({ fontFamily: updatedElement.fontFamily }) !==currentFont