Hello.

I have the next problem.

In text formats and editors I use ckeditor5 in full html. If I uncheck insert blocks, the following error is shown and I cannot save the configuration:
Error message
'check_roles' is not a supported key.

I have this problem since I updated from 10.2.7. to 10.3.0

¿How can i fix this?

Thanks

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

antcab created an issue. See original summary.

kapetan’s picture

Add:

insert_block\config\schema\insert_block.schema.yml

file with the following content and clear cache with drush cr before testing.

filter_settings.filter_insert_block:
type: filter
label: 'Insert Block Filter'
mapping:
check_roles:
type: boolean
label: 'Check roles permissions'

antcab’s picture

I had a problem with openAI ckeditor5 module.
I uninstalled it and all was fine again

Thank you very much.

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

elkaro’s picture

Status: Active » Reviewed & tested by the community
akki123’s picture

filter_settings.filter_insert_block:
  type: filter
  label: 'Insert Block Filter'
  mapping:
    check_roles:
      type: boolean
      label: 'Check roles permissions'

Should be like this in config/schema/insert_block.schema.yml

elkaro’s picture

Thanks. The indentation was added to issue fork merge request.

  • 5c3bc0e2 committed on 8.x-1.x
    Issue #3456947 by kapetan:  'check_roles' is not a supported key'
    
marcoka’s picture

Info about the type: filter
https://www.drupal.org/node/3419181

igor mashevskyi’s picture

Assigned: Unassigned » igor mashevskyi
Status: Reviewed & tested by the community » Needs work
igor mashevskyi’s picture

Version: 8.x-1.0-beta2 » 2.0.x-dev

igor mashevskyi changed the visibility of the branch 3456947-check_roles to hidden.

igor mashevskyi changed the visibility of the branch 3456947-check_roles to active.

igor mashevskyi’s picture

Assigned: igor mashevskyi » Unassigned
Status: Needs work » Fixed

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.