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

Addon blocks with text input have a black border when editing #5894

Closed
wesleybl opened this issue Mar 18, 2024 · 0 comments · Fixed by #5898
Closed

Addon blocks with text input have a black border when editing #5894

wesleybl opened this issue Mar 18, 2024 · 0 comments · Fixed by #5898

Comments

@wesleybl
Copy link
Member

Describe the bug
Addon blocks with text input have a black border when editing.

To Reproduce
Steps to reproduce the behavior:

  1. In an addon, create a block, like Volto's title block.
  2. When editing content, add the created block.
  3. Place focus on the field to enter text.
  4. See the black border around the field

Expected behavior
The black border should not appear.

Screenshots
If applicable, add screenshots to help explain your problem.
download (12)

Software (please complete the following information):

  • OS: Ubuntu 22
  • Browser Chrome
  • Volto Version 18.0.0-alpha.21
  • Plone Version 6.0.10
  • Plone REST API Version 9.5.0

Additional context
This does not occur in Volto blocks because it is removed via CSS:

.block-editor-title,
.block-editor-slate,
.block-editor-slateTable,
.slate-editor.selected {
:focus-visible {
outline: none;
}
}

Ref: #5186

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant