Giter Site home page Giter Site logo

Thanks for your awesome addons!And I have a problem about anki__editor__apply__font_color__background_color__custom_class__custom_style HOT 2 CLOSED

ijgnd avatar ijgnd commented on July 18, 2024
Thanks for your awesome addons!And I have a problem

from anki__editor__apply__font_color__background_color__custom_class__custom_style.

Comments (2)

ijgnd avatar ijgnd commented on July 18, 2024

Thanks for your report. Could you add some information:

  • Did you add .class1 to two style sheets and restart Anki? For details see the section # styling with "class" in the description on ankiweb (or here).
  • If you did this: Does the add-on "Customize Editor Stylesheet" work in general in your installation?
  • If it still doesn't work: Which are your add-ons? Could you copy and paste the html source code from the bottom of your first screenshot (to make sure I don't have a typo).

I typed this html source code into a field in my Anki 2.0.52 on Windows 10 Pro 1809 that has "Customize Editor Stylesheet" installed.

In my _editor.css I set

.class1{
   color: magenta;
   font-style: italic;
   font-family:monospace;
}

Now it looks like this for me:

anki2052

The html source code is this:

some_text_before<span class="class1"><span style="background-
color#00ff00">01</span>2<span 
style="color:#ff0000">34</span>56</span><span 
class="class1">789</span>some_text_after

from anki__editor__apply__font_color__background_color__custom_class__custom_style.

breezeit avatar breezeit commented on July 18, 2024

Thanks!It worked!
I have make a lots mistake in the details.
Snipaste_2019-04-21_09-17-16
Snipaste_2019-04-21_09-17-45

from anki__editor__apply__font_color__background_color__custom_class__custom_style.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.