-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
User Story
As an Anki user,
when I edit a note
in the WYSIWYG view
and have selected some text,
I want the codeButton to toggle whether the selected text appears in fixed-width type or not.
Scenario 1
If a user highlights some text that appears in the default typeface for the note and clicks the codeButton, the selected text should become fixed width (e.g. wrapped in <code></code> tags)
Scenario 2
If a user highlights some text that appears in fixed-width type and clicks the codeButton, the selected text should revert to the default typeface for the note.
Additional information
The behavior of the codeButton should be identical to that of the bold button, with the exception that the HTML tag used would be code instead of strong or b.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels