diff --git a/config/sync/core.menu.static_menu_link_overrides.yml b/config/sync/core.menu.static_menu_link_overrides.yml index 564275e..d8ecf81 100644 --- a/config/sync/core.menu.static_menu_link_overrides.yml +++ b/config/sync/core.menu.static_menu_link_overrides.yml @@ -3,8 +3,8 @@ _core: langcode: fr definitions: contact__site_page: + enabled: false menu_name: footer parent: '' - weight: 0 expanded: false - enabled: false + weight: 0 diff --git a/config/sync/editor.editor.wysiwyg.yml b/config/sync/editor.editor.wysiwyg.yml index 06d0147..35e5615 100644 --- a/config/sync/editor.editor.wysiwyg.yml +++ b/config/sync/editor.editor.wysiwyg.yml @@ -16,6 +16,7 @@ settings: - heading - bold - italic + - drupalInsertImage plugins: ckeditor5_heading: enabled_headings: @@ -24,4 +25,13 @@ settings: - heading4 - heading5 - heading6 -image_upload: { } + ckeditor5_imageResize: + allow_resize: true +image_upload: + status: true + scheme: public + directory: inline-images + max_size: '' + max_dimensions: + width: 1080 + height: 1080 diff --git a/config/sync/field.field.node.operation.field_dossier_de_candidature.yml b/config/sync/field.field.node.operation.field_dossier_de_candidature.yml index cc7eaa6..e15949f 100644 --- a/config/sync/field.field.node.operation.field_dossier_de_candidature.yml +++ b/config/sync/field.field.node.operation.field_dossier_de_candidature.yml @@ -12,7 +12,7 @@ field_name: field_dossier_de_candidature entity_type: node bundle: operation label: 'Dossier de candidature' -description: "" +description: "" required: false translatable: false default_value: { } diff --git a/config/sync/field.field.node.static.body.yml b/config/sync/field.field.node.static.body.yml index df2579d..143a8c4 100644 --- a/config/sync/field.field.node.static.body.yml +++ b/config/sync/field.field.node.static.body.yml @@ -4,6 +4,7 @@ status: true dependencies: config: - field.storage.node.body + - filter.format.wysiwyg - node.type.static module: - text @@ -22,5 +23,6 @@ default_value_callback: '' settings: display_summary: true required_summary: false - allowed_formats: { } + allowed_formats: + - wysiwyg field_type: text_with_summary diff --git a/config/sync/filter.format.wysiwyg.yml b/config/sync/filter.format.wysiwyg.yml index 7f884f3..8f035a0 100644 --- a/config/sync/filter.format.wysiwyg.yml +++ b/config/sync/filter.format.wysiwyg.yml @@ -53,13 +53,13 @@ filters: filter_align: id: filter_align provider: filter - status: false + status: true weight: -41 settings: { } filter_caption: id: filter_caption provider: filter - status: false + status: true weight: -40 settings: { } filter_html_escape: diff --git a/config/sync/views.view.current_user_block.yml b/config/sync/views.view.current_user_block.yml index 50c5186..a3357c8 100644 --- a/config/sync/views.view.current_user_block.yml +++ b/config/sync/views.view.current_user_block.yml @@ -562,7 +562,7 @@ display: plugin_id: text empty: false content: - value: "" + value: "" format: wysiwyg tokenize: false display_extenders: { } diff --git a/web/themes/custom/reha/reha.theme b/web/themes/custom/reha/reha.theme index 80fa15b..1efad29 100644 --- a/web/themes/custom/reha/reha.theme +++ b/web/themes/custom/reha/reha.theme @@ -65,7 +65,7 @@ function reha_preprocess_node(&$variables) { function reha_preprocess_block(&$variables) { if ($variables['plugin_id'] === "user_login_block") { $url = new Url('user.register', [], ['query' => ['destination' => '/node/add/operation']]); - $link = new Link('proposer une operation', $url); + $link = new Link('proposer une opération', $url); $variables['content']['reha'] = array( '#theme' => 'item_list', '#items' => [