Problem/Motivation

css/draggable_mapper.form.css line 127 uses word-break: break-word. The break-word value is deprecated in the CSS Text specification and kept only for compatibility, and stylelint reports it (declaration-property-value-keyword-no-deprecated).

Steps to reproduce

Run the stylelint job in GitLab CI on 1.1.x.

Proposed resolution

Replace it with overflow-wrap: anywhere, which the specification gives as the equivalent, so long words in the marker label still wrap inside the marker.

Remaining tasks

Merge request, stylelint passes, check a long marker title still wraps in the editor preview.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

sergio morais created an issue. See original summary.

  • sergio morais committed 098e408a on 1.1.x
    Issue #3642425: Replace deprecated word-break: break-word in marker CSS
    
sergio morais’s picture

Status: Active » Fixed

Merged MR !9 into 1.1.x (098e408a). word-break: break-word is replaced by overflow-wrap: anywhere.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

sergio morais’s picture

Status: Fixed » Closed (fixed)

Tested on a Drupal 11.4 site: a long marker title without spaces wraps inside the marker in the editor preview. Released in 1.1.4.