Skip to content

Commit 50c5c6e

Browse files
committed
Avoid link styles in Django 6.0
1 parent 6b0e1ba commit 50c5c6e

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ repos:
1919
- id: django-upgrade
2020
args: [--target-version, "3.2"]
2121
- repo: https://github.com/astral-sh/ruff-pre-commit
22-
rev: "v0.13.0"
22+
rev: "v0.13.1"
2323
hooks:
2424
- id: ruff
2525
args: [--unsafe-fixes]

CHANGELOG.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Next version
99
cloned content already had the correct size, but the base ordering value was
1010
incorrect.
1111
- Fixed the ordering calculation again.
12+
- Added ``role="button"`` to plugin buttons to avoid link styles.
1213

1314

1415
8.0 (2025-08-25)

content_editor/static/content_editor/content_editor.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@
193193
button.dataset.pluginPrefix = plugin.prefix
194194
button.className = "plugin-button"
195195
button.title = plugin.title
196+
button.role = "button"
196197
button.addEventListener("click", (e) => {
197198
e.preventDefault()
198199
ContentEditor.addContent(plugin.prefix)

0 commit comments

Comments
 (0)