diff --git a/config/install/editor.editor.basic_html.yml b/config/install/editor.editor.basic_html.yml new file mode 100644 index 0000000000000000000000000000000000000000..0234ed54cd36f7b43b4021d79dbcf28219cc1550 --- /dev/null +++ b/config/install/editor.editor.basic_html.yml @@ -0,0 +1,60 @@ +uuid: 56e85cf3-b0fe-4df9-9edd-b8ceefb34af5 +langcode: un +status: true +dependencies: + config: + - filter.format.basic_html + module: + - ckeditor +_core: + default_config_hash: AqlPmO16LvJI4D0Ih6u4GFQIzqr5OnLgAUSjcUGWk2g +format: basic_html +editor: ckeditor +settings: + toolbar: + rows: + - + - + name: Formatting + items: + - Styles + - Bold + - Italic + - + name: Linking + items: + - DrupalLink + - DrupalUnlink + - + name: Lists + items: + - BulletedList + - NumberedList + - + name: Media + items: + - Blockquote + - + name: 'Block Formatting' + items: + - Format + - + name: Tools + items: + - Source + plugins: + stylescombo: + styles: "h2|Encabezado 2\r\nh3|Encabezado 3\r\nh4|Encabezado 4\r\nspan.text-primary|Color primario\r\nspan.text-secondary|Color secundario\r\np.bg-primary.text-white|Fondo primario\r\np.bg-secondary.text-white|Fondo secundario\r\np.lead|Destacado\r\nspan.text-muted|Texto apagado" + language: + language_list: un + drupallink: + linkit_enabled: true + linkit_profile: default +image_upload: + status: true + scheme: public + directory: inline-images + max_size: '' + max_dimensions: + width: null + height: null diff --git a/config/install/editor.editor.full_html.yml b/config/install/editor.editor.full_html.yml new file mode 100644 index 0000000000000000000000000000000000000000..be15fcb5560475ab1b96216d0c0492f4d5edea16 --- /dev/null +++ b/config/install/editor.editor.full_html.yml @@ -0,0 +1,69 @@ +uuid: 4f7332ad-0341-4dc5-933a-70c5802c4aeb +langcode: un +status: true +dependencies: + config: + - filter.format.full_html + module: + - ckeditor +_core: + default_config_hash: 967ijj7p6i7rwrYl7r08WQFeCY_c23YAh0h8u-w_CXM +format: full_html +editor: ckeditor +settings: + toolbar: + rows: + - + - + name: Formatting + items: + - Styles + - Bold + - Italic + - Strike + - Superscript + - Subscript + - '-' + - RemoveFormat + - + name: Linking + items: + - DrupalLink + - DrupalUnlink + - + name: Lists + items: + - BulletedList + - NumberedList + - + name: Media + items: + - Blockquote + - DrupalImage + - Table + - HorizontalRule + - + name: 'Block Formatting' + items: + - Format + - + name: Tools + items: + - ShowBlocks + - Source + plugins: + stylescombo: + styles: "h2|Encabezado 2\r\nh3|Encabezado 3\r\nh4|Encabezado 4\r\nspan.text-primary|Color primario\r\nspan.text-secondary|Color secundario\r\np.bg-primary.text-white|Fondo primario\r\np.bg-secondary.text-white|Fondo secundario\r\np.lead|Destacado\r\nspan.text-muted|Texto apagado" + language: + language_list: un + drupallink: + linkit_enabled: false + linkit_profile: '' +image_upload: + status: true + scheme: public + directory: inline-images + max_size: '' + max_dimensions: + width: null + height: null diff --git a/templates/navigation/menu--account.html.twig b/templates/navigation/menu--account.html.twig index 36337082bd59450830444c5b4780fd06c0f9ff1a..b4c39846e28c739e920b870442ca6cb080a995e4 100644 --- a/templates/navigation/menu--account.html.twig +++ b/templates/navigation/menu--account.html.twig @@ -36,6 +36,7 @@ set classes = [ 'nav-link', item.in_active_trail ? 'active', + item.url.getOption('attributes').class ? item.url.getOption('attributes').class, ] %} {{ link(item.title, item.url, {'class': classes}) }} diff --git a/templates/navigation/menu--footer.html.twig b/templates/navigation/menu--footer.html.twig index 13d42f5c629d16f335f891d7ac7b300c42c529e7..99c237b7ef2717e3f23fdff23fa8f3a647132037 100644 --- a/templates/navigation/menu--footer.html.twig +++ b/templates/navigation/menu--footer.html.twig @@ -48,6 +48,7 @@ set link_classes = [ 'nav-link', item.in_active_trail ? 'active', + item.url.getOption('attributes').class ? item.url.getOption('attributes').class, ] %} {{ link(item.title, item.url, {'class': link_classes}) }} diff --git a/templates/navigation/menu--main.html.twig b/templates/navigation/menu--main.html.twig index 117f9d00615b4f4c415fc4c0dc1df51c4431c182..dbb41e38f3ba34a99a1f188cde7ff357baf8817c 100644 --- a/templates/navigation/menu--main.html.twig +++ b/templates/navigation/menu--main.html.twig @@ -50,6 +50,7 @@ not menu_level ? 'nav-link', item.in_active_trail ? 'active', item.below ? 'dropdown-toggle', + item.url.getOption('attributes').class ? item.url.getOption('attributes').class, ] %} {% if item.below %} diff --git a/templates/navigation/menu-local-task.html.twig b/templates/navigation/menu-local-task.html.twig index 74d49187dc4fdffc981b813dc13992eaddcb3949..59bba59d7fc64b44a2345a1e65adadf6a44039d8 100644 --- a/templates/navigation/menu-local-task.html.twig +++ b/templates/navigation/menu-local-task.html.twig @@ -20,6 +20,7 @@ set classes = [ 'nav-link', is_active ? 'active', + item.url.getOption('attributes').class ? item.url.getOption('attributes').class, ] %} <li{{ attributes.addClass(is_active ? 'active', 'nav-item') }}>{{ link(item.text, item.url, {'class': classes}) }}</li> diff --git a/templates/navigation/menu.html.twig b/templates/navigation/menu.html.twig index 88b0a197e0122f10c413b5026a7d758aacc515a4..f9eda06ea9138ba74a9027c571d1634407a6e26e 100644 --- a/templates/navigation/menu.html.twig +++ b/templates/navigation/menu.html.twig @@ -48,6 +48,7 @@ set link_classes = [ 'nav-link', item.in_active_trail ? 'active', + item.url.getOption('attributes').class ? item.url.getOption('attributes').class, ] %} {{ link(item.title, item.url, {'class': link_classes}) }}