first commit

This commit is contained in:
Roman Pyrih
2026-05-21 15:33:11 +02:00
commit acb036dbd9
8059 changed files with 2885104 additions and 0 deletions

View File

@@ -0,0 +1,52 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "core/math",
"title": "Math",
"category": "text",
"description": "Display mathematical notation using LaTeX.",
"keywords": [ "equation", "formula", "latex", "mathematics" ],
"textdomain": "default",
"supports": {
"anchor": true,
"html": false,
"__experimentalBorder": {
"color": true,
"radius": true,
"style": true,
"width": true
},
"color": {
"gradients": true,
"__experimentalDefaultControls": {
"background": true,
"text": true
}
},
"spacing": {
"margin": true,
"padding": true,
"__experimentalDefaultControls": {
"margin": false,
"padding": false
}
},
"typography": {
"fontSize": true,
"__experimentalDefaultControls": {
"fontSize": true
}
}
},
"attributes": {
"latex": {
"type": "string",
"role": "content"
},
"mathML": {
"type": "string",
"source": "html",
"selector": "math"
}
}
}

View File

@@ -0,0 +1,49 @@
/**
* SCSS Variables.
*
* Please use variables from this sheet to ensure consistency across the UI.
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
*/
/**
* Colors
*/
/**
* Fonts & basic variables.
*/
/**
* Typography
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Radius scale.
*/
/**
* Elevation scale.
*/
/**
* Dimensions.
*/
/**
* Mobile specific styles
*/
/**
* Editor styles.
*/
/**
* Block & Editor UI.
*/
/**
* Block paddings.
*/
/**
* React Native specific.
* These variables do not appear to be used anywhere else.
*/
.wp-block-math__textarea-control textarea {
font-family: Menlo, Consolas, monaco, monospace;
direction: ltr;
}

View File

@@ -0,0 +1 @@
.wp-block-math__textarea-control textarea{direction:ltr;font-family:Menlo,Consolas,monaco,monospace}

View File

@@ -0,0 +1,50 @@
/**
* SCSS Variables.
*
* Please use variables from this sheet to ensure consistency across the UI.
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
*/
/**
* Colors
*/
/**
* Fonts & basic variables.
*/
/**
* Typography
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Radius scale.
*/
/**
* Elevation scale.
*/
/**
* Dimensions.
*/
/**
* Mobile specific styles
*/
/**
* Editor styles.
*/
/**
* Block & Editor UI.
*/
/**
* Block paddings.
*/
/**
* React Native specific.
* These variables do not appear to be used anywhere else.
*/
.wp-block-math__textarea-control textarea {
font-family: Menlo, Consolas, monaco, monospace;
/*rtl:ignore*/
direction: ltr;
}

View File

@@ -0,0 +1 @@
.wp-block-math__textarea-control textarea{direction:ltr;font-family:Menlo,Consolas,monaco,monospace}

View File

@@ -0,0 +1,4 @@
.wp-block-math {
overflow-x: auto;
overflow-y: hidden;
}

View File

@@ -0,0 +1 @@
.wp-block-math{overflow-x:auto;overflow-y:hidden}

View File

@@ -0,0 +1,4 @@
.wp-block-math {
overflow-x: auto;
overflow-y: hidden;
}

1
wp-includes/blocks/math/style.min.css vendored Normal file
View File

@@ -0,0 +1 @@
.wp-block-math{overflow-x:auto;overflow-y:hidden}