Problem/Motivation

This module adds the following configuration for its settings in WYSIWYG editor config files:

# e.g. editor.editor.basic_html.yml
settings:
  plugins:
    indentblock:
      enable: 1

However, it does not define this configuration's schema (see https://www.drupal.org/node/1905070). This causes errors to be reported when using modules like Configuration Inspector.

Proposed resolution

Add a ckeditor_indentblock.schema.yml file that defines the schema.

CommentFileSizeAuthor
#2 3162658-2.patch374 bytesjakaeser
missing-schema.png27.83 KBjakaeser

Comments

jkaeser created an issue. See original summary.

jakaeser’s picture

StatusFileSize
new374 bytes

Here's a quick patch.

jakaeser’s picture

Assigned: jakaeser » Unassigned
Status: Active » Needs review
meichr’s picture

Thank you, @jkaeser. I'll read into this topic shortly and check the patch.

angelamnr’s picture

This patch worked for me! If you want to test it for yourself, one way you can test the schema.yml is to install config_inspector to confirm that your ckeditor configuration that uses indentblock doesn't have any errors.

meichr’s picture

Thanks, @angelamnr. I'll have time next week to follow up on this topic. If you would like to set this to RTBC in the meantime, please do so.

angelamnr’s picture

Status: Needs review » Reviewed & tested by the community

Great, thanks!

heddn’s picture

Status: Reviewed & tested by the community » Needs review
+++ b/config/schema/ckeditor_indentblock.schema.yml
@@ -0,0 +1,7 @@
+      type: integer

I think this wants to be a bool type, not integer?

  • heddn committed dbc07b67 on 8.x-1.x authored by jkaeser
    Issue #3162658 by jkaeser, angelamnr, heddn: Module does not provide...
heddn’s picture

Status: Needs review » Fixed

I'm almost certain it should be boolean. Made that change and committed. Thanks everyone for their contributions here.

Status: Fixed » Closed (fixed)

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

hkirsman’s picture