diff --git a/composer.json b/composer.json index e93c96e..0206277 100644 --- a/composer.json +++ b/composer.json @@ -18,6 +18,7 @@ "composer/installers": "^1.9", "drupal-ckeditor-libraries-group/fakeobjects": "^4.20", "drupal/book_access_code": "^2.0", + "drupal/ckeditor_wiris": "^2.1", "drupal/config_pages": "^2.14", "drupal/core-composer-scaffold": "^9.5", "drupal/core-project-message": "^9.5", diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index 89627ff..41adca1 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -21,6 +21,7 @@ module: bulkdelete: 0 ckeditor: 0 ckeditor5: 0 + ckeditor_wiris: 0 config: 0 config_devel: 0 config_filter: 0 diff --git a/config/sync/editor.editor.tablecell.yml b/config/sync/editor.editor.tablecell.yml new file mode 100644 index 0000000..e25dc3e --- /dev/null +++ b/config/sync/editor.editor.tablecell.yml @@ -0,0 +1,50 @@ +uuid: a5ebae06-aba5-4cdc-982a-cb3bbe89de9d +langcode: en +status: true +dependencies: + config: + - filter.format.tablecell + module: + - ckeditor +format: tablecell +editor: ckeditor +settings: + toolbar: + rows: + - + - + name: Formatting + items: + - Bold + - Italic + - + name: Links + items: + - DrupalLink + - DrupalUnlink + - + name: Lists + items: + - BulletedList + - NumberedList + - + name: Media + items: + - Blockquote + - DrupalImage + - + name: Tools + items: + - Source + plugins: + drupallink: + linkit_enabled: false + linkit_profile: '' +image_upload: + status: false + scheme: public + directory: inline-images + max_size: '' + max_dimensions: + width: null + height: null diff --git a/config/sync/field.field.paragraph.tablefield.field_tablefield.yml b/config/sync/field.field.paragraph.tablefield.field_tablefield.yml index a0d81fe..ef378cc 100644 --- a/config/sync/field.field.paragraph.tablefield.field_tablefield.yml +++ b/config/sync/field.field.paragraph.tablefield.field_tablefield.yml @@ -7,6 +7,12 @@ dependencies: - paragraphs.paragraphs_type.tablefield module: - tablefield + - tablefield_required +third_party_settings: + tablefield_required: + required_rows: '' + required_cols: '' + multivalue_inherit: false id: paragraph.tablefield.field_tablefield field_name: field_tablefield entity_type: paragraph @@ -15,14 +21,57 @@ label: tablefield description: '' required: false translatable: true -default_value: { } +default_value: + - + rebuild: + cols: '5' + rows: '5' + value: + 0: + weight: '0' + 0: '' + 1: '' + 2: '' + 3: '' + 4: '' + 1: + weight: '1' + 0: '' + 1: '' + 2: '' + 3: '' + 4: '' + 2: + weight: '2' + 0: '' + 1: '' + 2: '' + 3: '' + 4: '' + 3: + weight: '3' + 0: '' + 1: '' + 2: '' + 3: '' + 4: '' + 4: + weight: '4' + 0: '' + 1: '' + 2: '' + 3: '' + 4: '' + caption: '' + format: null + caption: '' default_value_callback: '' settings: export: false restrict_rebuild: true restrict_import: true lock_values: false - cell_processing: 0 + cell_processing: 1 empty_rules: ignore_table_structure: false ignore_table_header: false diff --git a/config/sync/filter.format.tablecell.yml b/config/sync/filter.format.tablecell.yml new file mode 100644 index 0000000..3ba4ed1 --- /dev/null +++ b/config/sync/filter.format.tablecell.yml @@ -0,0 +1,44 @@ +uuid: b3970c0c-c4af-4b60-87c5-e7fb1a327bf7 +langcode: en +status: true +dependencies: + module: + - footnotes + - url_to_video_filter +name: tablecell +format: tablecell +weight: 0 +filters: + filter_html: + id: filter_html + provider: filter + status: true + weight: -10 + settings: + allowed_html: '
' + filter_html_help: true + filter_html_nofollow: false + filter_autop: + id: filter_autop + provider: filter + status: true + weight: 0 + settings: { } + filter_footnotes: + id: filter_footnotes + provider: footnotes + status: false + weight: 0 + settings: + footnotes_collapse: '0' + footnotes_html: '0' + filter_url_to_video: + id: filter_url_to_video + provider: url_to_video_filter + status: false + weight: 0 + settings: + youtube: '1' + youtube_webp_preview: '0' + vimeo: '1' + autoload: '0' diff --git a/config/sync/language.types.yml b/config/sync/language.types.yml index 66039af..2c75d8d 100644 --- a/config/sync/language.types.yml +++ b/config/sync/language.types.yml @@ -10,7 +10,7 @@ configurable: negotiation: language_content: enabled: - language-interface: 9 + language-interface: 0 method_weights: language-content-entity: -9 language-url: -8 diff --git a/config/sync/user.role.admin.yml b/config/sync/user.role.admin.yml index 56b010a..415aa4d 100644 --- a/config/sync/user.role.admin.yml +++ b/config/sync/user.role.admin.yml @@ -3,6 +3,7 @@ langcode: fr status: true dependencies: config: + - filter.format.tablecell - filter.format.wysiwyg - node.type.static module: @@ -97,6 +98,7 @@ permissions: - 'translate page node' - 'translate static node' - 'update content translations' + - 'use text format tablecell' - 'use text format wysiwyg' - 'view autre_son revisions' - 'view enregistrement revisions' diff --git a/config/sync/user.role.editor.yml b/config/sync/user.role.editor.yml index f2dc58e..b515bb3 100644 --- a/config/sync/user.role.editor.yml +++ b/config/sync/user.role.editor.yml @@ -3,12 +3,14 @@ langcode: fr status: true dependencies: config: + - filter.format.tablecell - node.type.book - node.type.static module: - block_content - book - content_translation + - filter - node - paragraphs - system @@ -49,6 +51,7 @@ permissions: - 'translate static node' - 'translate user' - 'update content translations' + - 'use text format tablecell' - 'view book revisions' - 'view own unpublished content' - 'view static revisions' diff --git a/config/sync/user.role.translator.yml b/config/sync/user.role.translator.yml index 1f56f17..a455629 100644 --- a/config/sync/user.role.translator.yml +++ b/config/sync/user.role.translator.yml @@ -3,11 +3,13 @@ langcode: fr status: true dependencies: config: + - filter.format.tablecell - node.type.book - node.type.static module: - block_content - content_translation + - filter - node - paragraphs - system @@ -34,5 +36,6 @@ permissions: - 'translate static node' - 'translate user' - 'update content translations' + - 'use text format tablecell' - 'view own unpublished content' - 'view the administration theme'