server icon indicating copy to clipboard operation
server copied to clipboard

Not making close deletion

Open Theorist100 opened this issue 3 years ago • 1 comments

Describe the bug The software does not make close deletions.

To Reproduce Steps to reproduce the behavior:

  1. I created a page in Notion.
  2. I created a toggle list with text marked as a code.
  3. I clicked on "export to HTML".
  4. I put a result HTML page into 2anki.net
  5. I did not get a flashcard with close deletions.

Expected behavior I wanted to get a flashcard with close deletions.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 10 corporate, 21H1, 19043.1889 Windows Feature Experience Pack 120.2212.4180.0
  • Browser: Google 0 1 2 3 4 chrome 104.0.5112.102

Theorist100 avatar Aug 24 '22 16:08 Theorist100

I understand the example you are showing but this is not how the implementation of 2anki.net works. We create cloze deletions from the toggle header, not the body.

Screenshot 2022-08-26 at 8 36 52 PM

If you use the shift enter shortcut while your cursor is in the header you can split it up into mult-lines and with the Preserve Newlines in the Toggle Header and Body it will work like you expect it to.

Screenshot 2022-08-26 at 8 39 04 PM

When that is said, I will keep your issue open since it is relevant for improving the cloze deletion support.

aalemayhu avatar Aug 26 '22 18:08 aalemayhu