Problem/Motivation

Running the module with Drupal 10.3.6, I get errors when trying to save the text format:

  • 'animation' is not a supported key
  • 'speed' is not a supported key

because of the missing config/schema/text_rotator_filter.schema.yml file

Here's a suggested content for this file:

filter_settings.filter_text_rotator:
  type: filter
  label: 'Text Rotator Filter'
  mapping:
    animation:
      type: string
      label: 'Animation type'
    speed:
      type: integer
      label: 'Animation speed'

Patch attached.

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

phily created an issue. See original summary.

sarwan_verma made their first commit to this issue’s fork.

sarwan_verma’s picture

Status: Active » Needs review
StatusFileSize
new106.15 KB
new112.74 KB

Hi,

The patch was applied successfully and worked for me. I have also created MR!2 and attached a screenshot for clarity.

Please review and verify.

Thanks!

dom.’s picture

Correct !
As a follow-up for D10.3+ I will however move from Annotation to Attributes:
https://www.drupal.org/node/3229001

  • dom. committed e509fcb6 on 2.x authored by sarwan_verma
    Issue #3480088 by sarwan_verma, phily: Missing text_rotator_filter....
dom.’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.