From 782ee143a03d4471a97e4c0b34590faebb084fd3 Mon Sep 17 00:00:00 2001 From: James Johnson Date: Tue, 14 Jan 2025 09:11:00 -0600 Subject: [PATCH] "Create + Another" card starts with previous card's structure (#100) --- .../components/BlockEditor/HintBlockInput.vue | 4 +- resources/client/lib/makeContentBlock.ts | 56 ++++++++++++++++ .../pages/Cards/CreateOrEditCardPage.vue | 31 +++++---- tests/cypress/e2e/deckShowPage.cy.ts | 66 +++++++++++++++++++ tests/cypress/support/commands.ts | 9 +++ tests/cypress/support/index.d.ts | 5 ++ 6 files changed, 156 insertions(+), 15 deletions(-) create mode 100644 resources/client/lib/makeContentBlock.ts diff --git a/resources/client/components/BlockEditor/HintBlockInput.vue b/resources/client/components/BlockEditor/HintBlockInput.vue index c105170..a01ac47 100644 --- a/resources/client/components/BlockEditor/HintBlockInput.vue +++ b/resources/client/components/BlockEditor/HintBlockInput.vue @@ -1,8 +1,8 @@