mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Include bootstrap in editor
This commit is contained in:
parent
aeda64a890
commit
f2cc85a3bc
2 changed files with 11 additions and 4 deletions
|
@ -222,8 +222,15 @@ class Editor:
|
|||
# then load page
|
||||
self.web.stdHtml(
|
||||
_html % (bgcol, topbuts, tr(TR.EDITING_SHOW_DUPLICATES)),
|
||||
css=["css/editor.css"],
|
||||
js=["js/vendor/jquery.min.js", "js/editor.js"],
|
||||
css=[
|
||||
"css/vendor/bootstrap.min.css",
|
||||
"css/editor.css",
|
||||
],
|
||||
js=[
|
||||
"js/vendor/jquery.min.js",
|
||||
"js/vendor/bootstrap.bundle.min.js",
|
||||
"js/editor.js",
|
||||
],
|
||||
context=self,
|
||||
)
|
||||
self.web.eval("preventButtonFocus();")
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/* Copyright: Ankitects Pty Ltd and contributors
|
||||
* License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */
|
||||
|
||||
html {
|
||||
background: var(--bg-color);
|
||||
body {
|
||||
background-color: var(--bg-color);
|
||||
}
|
||||
|
||||
#fields {
|
||||
|
|
Loading…
Reference in a new issue