Comments (8)
I can reproduce the problem. This seems like a limitation of the underlying library. This doesn't help you but it means that there's no quick and easy fix. I switched to this new version because of some limitations of the old version. I'll have to think about this. This will take some time.
In the meantime: The latest "old" version can be downloaded from: https://github.com/ijgnd/anki__editor__apply__font_color__background_color__custom_class__custom_style/releases/tag/0.35
video: installing ankiaddon files from outside of ankiweb
if you switch back to this older version make sure to reset your add-on config.
from anki__editor__apply__font_color__background_color__custom_class__custom_style.
I have made a new version that doesn't fully solve the problem. But it should reduce the problem a lot, e.g. the problem in your screencast shouldn't occur anymore.
The new version can be downloaded from here.
It would be great if you could test this version and let me know if it works so that I can upload it to ankiweb.
from anki__editor__apply__font_color__background_color__custom_class__custom_style.
I will be using this version throughout today and tomorrow. I will let you know.
from anki__editor__apply__font_color__background_color__custom_class__custom_style.
I inserted a screen recording of a new problem I found. I don't believe I have ran into the previous problem. But now when I make my input it makes the text shift to another line as if I'm pressing the "enter / return" button."
Screen Recording 2020-07-11 at 7.55.58 AM.zip
I attached a screenshot of my config in case you need to see it but I didn't "enter / return" button on my hotkey.
from anki__editor__apply__font_color__background_color__custom_class__custom_style.
This behavior is intended if you use the category "class (other), wrapped in div" or if for the category "class (other)" you have selected the option "Surround with div tag".
Your screenshot shows that ctrl+alt+y (bold_yellow) uses "class (other), wrapped in div". If you recreate bold_yellow as "class (other)" does this fix your problem?
if this doesn't help:
- share you config: for this in the add-on config window (seen in the screenshot) click on "more" in the upper right, then on "Export button config to json" and share the contents of this file.
- could you try with all other add-ons disabled if you can reproduce the problem?
- what's your Anki version, does this happen with the latest version 2.1.26?
from anki__editor__apply__font_color__background_color__custom_class__custom_style.
The previous problem is fixed. I'm going to continue using this version to test out the original problem. The original problem would happen every now and then ~40% of the time so I will see what happens with the new update I'm testing out.
from anki__editor__apply__font_color__background_color__custom_class__custom_style.
I have used it extensively for making a ton of cards and have not run into any issues. However, I keep getting a notification that there is a recent update and I do not update to preserve the one you gave me. After maybe a few syncs I do however notice that the add-on is disabled and I try enabling it but does not work. I also try accessing the config but it is blocked. I try restarting Anki but it still keeps it disabled.
from anki__editor__apply__font_color__background_color__custom_class__custom_style.
Thanks for your testing.
About the updating error: This was (luckily) a minor problem with one add-on config file. I'll try to avoid it in the future. I just updated the listing on ankiweb with the version from Friday. Once Anki has downloaded this version from ankiweb the update problem should disappear. If not let me know. When you find other bugs, also let me know.
I'll leave this bug open because the problem still is not really solved. I just added a workaround.
from anki__editor__apply__font_color__background_color__custom_class__custom_style.
Related Issues (20)
- ankiweb: raise minimum version required to 2.1.28 HOT 1
- Feature requests: Custom HTML wrapping HOT 1
- Sorting Entries
- 少了文件?
- Improvement in the backcolor category
- broken in 2.1.41 HOT 5
- 2.1.41+ night-mode css not applied in editor HOT 3
- Text Wrapping function malfunctions when wrapping string contains quotation marks. HOT 1
- 2.1.41+ wrong colors in editor and in actual card HOT 2
- Simplifying the context menu - just an idea.
- Selection of multiple lines not recognised when disabling entries in options
- Add option to disable the dialog asking to auto update templates HOT 1
- Feature Request: Placeholder for text under selection
- Changing font family?
- shorten the red box? HOT 2
- clear formatting: It doesn't work
- broken in 2.1.50 (Attribute error, ...) HOT 8
- Change "class" name on all previously produced cards. HOT 2
- css not loaded into the editor in 2.1.60 (and presumably .55+) HOT 6
- shortcuts don't apply the setting(class, style, ...) intended
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anki__editor__apply__font_color__background_color__custom_class__custom_style.