Skip to content

Commit 0a5a6ad

Browse files
authored
Merge branch 'main' into feat/customizable-table-classes
2 parents 8257984 + d914b8b commit 0a5a6ad

File tree

14 files changed

+62
-53
lines changed

14 files changed

+62
-53
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ repos:
1515
args: ["--py39-plus"]
1616

1717
- repo: https://github.com/adamchainz/django-upgrade
18-
rev: '1.23.1'
18+
rev: '1.24.0'
1919
hooks:
2020
- id: django-upgrade
2121
args: [--target-version, "4.2"]
2222

2323
- repo: https://github.com/astral-sh/ruff-pre-commit
24-
rev: v0.9.9
24+
rev: v0.11.4
2525
hooks:
2626
- id: ruff
2727
args: [--fix, --exit-non-zero-on-fix]

djangocms_text/contrib/text_ckeditor4/static/djangocms_text/vendor/ckeditor4/contents.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ body
1111
font-size: 12px;
1212

1313
/* Text color */
14-
color: #333;
14+
color: var(--dca-black, var(--body-fg, #333));
1515

1616
/* Remove the background color to make it transparent. */
17-
background-color: #fff;
17+
background-color: var(--dca-white, var(--body-bg, #fff));
1818

1919
margin: 20px;
2020
}
@@ -34,7 +34,7 @@ blockquote
3434
font-family: Georgia, Times, "Times New Roman", serif;
3535
padding: 2px 0;
3636
border-style: solid;
37-
border-color: #ccc;
37+
border-color: var(--dca-gray-lighter, var(--border-color, #ccc));
3838
border-width: 0;
3939
}
4040

@@ -54,7 +54,7 @@ blockquote
5454

5555
a
5656
{
57-
color: #0782C1;
57+
color: var(--link-fg, #0782C1);
5858
}
5959

6060
ol,ul,dl

djangocms_text/contrib/text_ckeditor4/static/djangocms_text/vendor/ckeditor4/skins/moono-lisa/dialog.css

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

djangocms_text/contrib/text_ckeditor4/static/djangocms_text/vendor/ckeditor4/skins/moono-lisa/dialog_ie.css

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

djangocms_text/contrib/text_ckeditor4/static/djangocms_text/vendor/ckeditor4/skins/moono-lisa/dialog_ie8.css

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

djangocms_text/contrib/text_ckeditor4/static/djangocms_text/vendor/ckeditor4/skins/moono-lisa/dialog_iequirks.css

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

djangocms_text/contrib/text_ckeditor4/static/djangocms_text/vendor/ckeditor4/skins/moono-lisa/editor.css

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

djangocms_text/contrib/text_ckeditor4/static/djangocms_text/vendor/ckeditor4/skins/moono-lisa/editor_gecko.css

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

djangocms_text/contrib/text_ckeditor4/static/djangocms_text/vendor/ckeditor4/skins/moono-lisa/editor_ie.css

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

djangocms_text/contrib/text_ckeditor4/static/djangocms_text/vendor/ckeditor4/skins/moono-lisa/editor_ie8.css

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

djangocms_text/contrib/text_ckeditor4/static/djangocms_text/vendor/ckeditor4/skins/moono-lisa/editor_iequirks.css

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

djangocms_text/html.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ def __init__(
4444
self.ALLOWED_ATTRIBUTES: dict[str, set[str]] = deepcopy(nh3.ALLOWED_ATTRIBUTES)
4545
self.generic_attribute_prefixes: set[str] = generic_attribute_prefixes or set()
4646
additional_attributes = {
47-
**settings.TEXT_ADDITIONAL_ATTRIBUTES,
4847
**(additional_attributes or {}),
48+
**settings.TEXT_ADDITIONAL_ATTRIBUTES,
4949
}
5050
if additional_attributes:
5151
self.ALLOWED_TAGS |= set(additional_attributes.keys())
@@ -55,7 +55,7 @@ def __init__(
5555
def __call__(self) -> dict[str, Union[dict[str, set[str]], set[str], None]]:
5656
"""
5757
Return a dictionary containing the attributes, tags, generic_attribute_prefixes, and link_rel values for
58-
immidiate passing to the nh3.clean function.
58+
immediate passing to the nh3.clean function.
5959
6060
:return: A dictionary with the following keys:
6161
- "attributes": A dictionary containing the allowed attributes setting.

0 commit comments

Comments
 (0)