Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PRO-6735: Rich text styles toolbar focused state #4804

Merged
merged 2 commits into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
* Fixes a false positive warning for module not in use for project level submodules (e.g. `widges/module.js`) and dot-folders (e.g. `.DS_Store`).
* Bumped `express-bearer-token` dependency to address a low-severity `npm audit` warning regarding noncompliant cookie names and values. Apostrophe
did not actually use any noncompliant cookie names or values, so there was no vulnerability in Apostrophe.
* Rich text "Styles" toolbar now has visually focused state.

### Adds

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ export default {
border-radius: var(--a-border-radius);
transition: all 500ms ease;
&:focus-within,
&:hover {
color: var(--a-text-primary);
background-color: var(--a-base-9);
Expand Down
2 changes: 1 addition & 1 deletion modules/@apostrophecms/rich-text-widget/views/widget.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
{% elif data.manager.options.className %}
{% set className = data.manager.options.className %}
{% endif %}
<div data-rich-text{% if className %} class="{{ className }}" {% endif %}>
<div data-rich-text{% if className %} class="{{ className }}"{% endif %}>
{{ data.widget.content | safe }}
</div>
Loading