editor: apply font color, background color, custom class, custom style [Official thread]

ijg's Avatar

ijg

18 Jan, 2020 01:44 PM

If you have a problem with the add-on editor: apply font color, background color, custom class, custom style post in this thread. This way I get notified. If you make a new thread I will likely miss it.

  1. 1 Posted by jabamboleo on 21 Jan, 2020 07:56 AM

    jabamboleo's Avatar

    Hi ijgnord,

    is it possible to easily remove the styling, or do I have to modify the HTML?

    I tried

    1. Clicking the styling button a second time.

    2. Using the button "Remove formatting" (wich, I think, was implemented by an add-on. Mini Format pack maybe)

    Neither worked.

  2. 2 Posted by ijg on 22 Jan, 2020 02:00 PM

    ijg's Avatar

    I'm not sure if this solution qualifies as easily but at least it's easier than modifying the html source: Use the add-on editor: apply font color, background color, custom class, custom style. Then you'll have a context menu entry "Full Clear".

    Does this solve your problem?

    It would be great if the styling could be removed simply by clicking the styling button a second time. I'll add this to the todo list but who knows if I'll ever find the time for this ...

  3. 3 Posted by jabamboleo on 22 Jan, 2020 02:14 PM

    jabamboleo's Avatar

    Thanks! "Full Clear" is totally sufficient

  4. 4 Posted by Ronil Patel on 23 May, 2020 05:50 PM

    Ronil Patel's Avatar

    Does this add on work with with Anki v2.1.26? It looks like a much better robust alternative to https://ankiweb.net/shared/info/2491935955

    EDIT: I re-started Anki and now the config box is no longer grayed out; thank you for sharing the updated version. I will try it out!

  5. 5 Posted by ijg on 23 May, 2020 06:25 PM

    ijg's Avatar

    It should work in 2.1.26 and for me the config is not grayed out in 2.1.26 and I haven't heard a complaint. It shouldn't conflict with any other add-on. I have no idea.

     

    I have a very much improved version that I haven't uploaded to ankiweb yet available here. It's not well tested so it needs some testing. Before you test it make sure to backup your old add-on version. Testing and feedback and bug reports would be very much appreciated.

  6. 6 Posted by Ronil Patel on 31 May, 2020 08:27 PM

    Ronil Patel's Avatar

    Thank you for making this add on; it is very useful to me; I will report bugs in github

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac