Skip to content

Instantly share code, notes, and snippets.

View mherchel's full-sized avatar

Michael Herchel mherchel

View GitHub Profile
diff --git a/core/modules/ckeditor5/ckeditor5.ckeditor5.yml b/core/modules/ckeditor5/ckeditor5.ckeditor5.yml
index 4396b64ed4..0372fddc89 100644
--- a/core/modules/ckeditor5/ckeditor5.ckeditor5.yml
+++ b/core/modules/ckeditor5/ckeditor5.ckeditor5.yml
@@ -263,6 +263,7 @@ ckeditor5_codeBlock:
label: Code Block
library: ckeditor5/internal.drupal.ckeditor5.codeBlock
admin_library: ckeditor5/internal.admin.codeBlock
+ class: Drupal\ckeditor5\Plugin\CKEditor5Plugin\CodeBlock
toolbar_items:
/* Custom Gin styles here. */
.my-gin-selector {
color: red;
}
/**
* Example use of CSS nesting.
*
* @see https://developer.chrome.com/articles/css-nesting/
*/
.tabs__tab {
display: none;
margin: 0;
margin-block-end: calc(-1 * var(--tabs-border-width));
'use strict';
(function () {
/*
* Fetch more data like views_load_more.
*
* @todos
* Add Quicklink integration when https://github.com/GoogleChromeLabs/quicklink/issues/54 is resolved.
*/
Drupal.behaviors.load_more = {
'attach': function (context) {
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
.test-logical-properties {
block-size: 0;
inline-size: 0;
max-block-size: 0;
max-inline-size: 0;
min-block-size: 0;
min-inline-size: 0;
/*
Margins borders padding
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
/*
https://css-tricks.com/theming-with-variables-globals-and-locals/
https://medium.com/eightshapes-llc/tokens-in-design-systems-25dd82d58421
https://bradfrost.com/blog/post/creating-themeable-design-systems/
*/
.root-frontend {
--color-primary: xxx;
--color-neutral: #777;
@import "../base/media-queries.pcss.css";
/* Breakpoint where tabs switch between vertical and horizontal layouts. */
@custom-media --tabs-layout-switch (--md);
.tabs {
--tabs-height: var(--sp3);
--tabs-padding-inline: var(--sp1-5);
--tabs-active-border-size: 6px;
--tabs-highlight-color: var(--color--blue-50); /* Minimum 3:1 contrast ratio against --tabs-background-color and --tabs-background-color-hover. */
# This is a dotenv file used by JavaScript tasks.
# Copy this to '.env' to override.
#############################
# General Test Environment #
#############################
# This is the URL that Drupal can be accessed by. You don't need an installed
# site here, just make sure you can at least access the installer screen. If you
# don't already have one running, e.g. Apache, you can use PHP's built-in web
# server by running the following command in your Drupal root folder: