plone / volto

React-based frontend for the Plone Content Management System
https://demo.plone.org/
MIT License
426 stars 575 forks source link

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

Closed wesleybl closed 4 weeks ago

wesleybl commented 1 month ago

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):

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

https://github.com/plone/volto/blob/accb714bb86f47ef6407e6ae7acf809fab1bd3db/packages/volto/theme/themes/pastanaga/extras/blocks.less#L45-L52

Ref: https://github.com/plone/volto/pull/5186