Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested lists are inserted using invalid html when using editor buttons #2021

Open
orgtre opened this issue Aug 19, 2022 · 1 comment
Open

Comments

@orgtre
Copy link

orgtre commented Aug 19, 2022

Since Anki has its own buttons for creating nested lists (via the insert list and indent buttons), introduced in version 2.1.45 I believe, this bug from glutanimate/mini-format-pack equally applies here. It creates problems when trying to export Anki notes and use them with tools like anki-editor and org-anki. I found one mention of this issue in the forums but no solution (other than to not use the buttons).

@hgiesel
Copy link
Contributor

hgiesel commented Aug 20, 2022

That seems to be the behavior of the browser built-in execCommand. Once again, I'm dumbfounded by how the browser's built-in tools are so faulty.

Unfortunately, implementing the algorithm ourselves will take quite a bit of work, and at the moment there are enough other things to improve. So while I'll keep it in mind, I don't think I'll tackle it anytime soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants