diff --git a/resources/client/components/BlockEditor/BlockEditor.vue b/resources/client/components/BlockEditor/BlockEditor.vue index ae6b077..b8db307 100644 --- a/resources/client/components/BlockEditor/BlockEditor.vue +++ b/resources/client/components/BlockEditor/BlockEditor.vue @@ -128,15 +128,8 @@ const blockTypes = computed(() => { }); function addEditorBlock(type: ContentBlock["type"]) { - console.log("addEditorBlock", type); const newBlock = makeContentBlock(type); emit("update:modelValue", [...props.modelValue, newBlock]); - - // attempt to focus the drag handle of the new block - // a little hacky. Not sure if it's better or not to do this. - setTimeout(() => { - focusBlockDragHandle(newBlock); - }, 250); } function removeBlock(id: string) { diff --git a/tests/cypress/e2e/deckPracticePage.cy.ts b/tests/cypress/e2e/deckPracticePage.cy.ts index 63f76b0..ebb36ff 100644 --- a/tests/cypress/e2e/deckPracticePage.cy.ts +++ b/tests/cypress/e2e/deckPracticePage.cy.ts @@ -39,7 +39,6 @@ describe("DeckShowPage", () => { cy.contains(/Front side \d/).then(($el: JQuery) => { // we should not see the same card again const cardText = $el.text(); - console.log({ cardText }); expect(cardsSeen.has(cardText)).to.be.false; cardsSeen.add(cardText); });