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

Show code when edit cards #8798

Closed
mtbox9x opened this issue May 9, 2021 · 6 comments
Closed

Show code when edit cards #8798

mtbox9x opened this issue May 9, 2021 · 6 comments
Labels
Anki Ecosystem Compatibility Help Wanted Requesting Pull Requests from volunteers Note Editor Addition, editing & note type changes

Comments

@mtbox9x
Copy link

mtbox9x commented May 9, 2021

I am using 2.15alpha49. this deck i downloaded from internet. It's difficult to edit cards because of code. But on ankimobile, this issue is not exist, so i think the reason is not because of the deck. Thank you. I'm sorry for my english 😂

@Akshay0701
Copy link
Member

Akshay0701 commented May 9, 2021

I'm sorry for my English

No problem @mtbox9x, as far I understood "you want to view the whole card in note editor while editing",

am I right? if yes then we are working on a visual editor project, we will be including a feature to preview card in the note editor,

you can see work on it here #7962,

Thank you.

@mtbox9x
Copy link
Author

mtbox9x commented May 10, 2021

I'm sorry for my English

No problem @mtbox9x, as far I understood "you want to view the whole card in note editor while editing",

am I right? if yes then we are working on a visual editor project, we will be including a feature to preview card in the note editor,

you can see work on it here #7962,

Thank you.


I want the note editor to show up like this

@krmanik
Copy link
Member

krmanik commented May 10, 2021

In Anki Desktop the html is not shown. When click on edit html then it shows.

@krmanik krmanik added Anki Ecosystem Compatibility Help Wanted Requesting Pull Requests from volunteers Note Editor Addition, editing & note type changes labels May 10, 2021
@krmanik
Copy link
Member

krmanik commented May 10, 2021

It may be duplicate of #1377

@AXiSource
Copy link

I don't think @mtbox9x is asking for WYSIWYG but simply for the ability to hide html tags in fields.

Example:

  • Field with html tag : <i><b>ONE</b></i>

  • WYSIWYG : ONE

  • Field with html tags hidden : ONE

@mikehardy
Copy link
Member

I don't believe it is valid to just hide semantically important (for the card render) html code.
Either we can interpret it and let you edit it while interpreted (WYSIWYG) or you see the code.
The alternative is hiding it then users blow up their formatting during edit on AnkiDroid and we get errors related to that.

This is a duplicate of #1377

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Anki Ecosystem Compatibility Help Wanted Requesting Pull Requests from volunteers Note Editor Addition, editing & note type changes
Projects
None yet
Development

No branches or pull requests

5 participants