Skip to content
This repository was archived by the owner on Nov 2, 2024. It is now read-only.

Commit c0764c4

Browse files
committed
Bump to v2.0.4
1 parent 815ea1e commit c0764c4

File tree

3 files changed

+16
-11
lines changed

3 files changed

+16
-11
lines changed

index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Code Syntax Block
44
* Plugin URI: https://github.com/mkaz/code-syntax-block
55
* Description: A plugin to extend Gutenberg code block with syntax highlighting
6-
* Version: 2.0.3
6+
* Version: 2.0.4
77
* Author: Marcus Kazmierczak
88
* Author URI: https://mkaz.blog/
99
* License: GPL2
@@ -14,7 +14,7 @@
1414
*/
1515

1616
// version added, used in URL
17-
const MKAZ_CODE_SYNTAX_BLOCK_VERSION = '2.0.3';
17+
const MKAZ_CODE_SYNTAX_BLOCK_VERSION = '2.0.4';
1818
const MKAZ_CODE_SYNTAX_DEFAULT_SCHEME = 'prism-a11y-dark';
1919
const MKAZ_CODE_SYNTAX_COLOR_SCHEMES = ['prism-a11y-dark', 'prism-ghcolors', 'prism-nord', 'prism-onedark'];
2020
require dirname( __FILE__ ) . '/prism-languages.php';

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
22
"name": "mkaz-code-syntax-block",
3-
"version": "2.0.3",
3+
"version": "2.0.4",
44
"license": "GPL-2.0-or-later",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/mkaz/code-syntax-block.git"
88
},
99
"main": "src/index.js",
1010
"devDependencies": {
11-
"@wordpress/eslint-plugin": "^7.4.0",
12-
"@wordpress/prettier-config": "^0.4.0",
13-
"@wordpress/scripts": "^12.6.0",
14-
"eslint": "^7.16.0",
11+
"@wordpress/eslint-plugin": "^9.0.6",
12+
"@wordpress/prettier-config": "^1.0.5",
13+
"@wordpress/scripts": "^16.1.4",
14+
"eslint": "^7.30.0",
1515
"eslint-plugin-eslint-comments": "^3.2.0",
16-
"eslint-plugin-import": "^2.22.1"
16+
"eslint-plugin-import": "^2.23.4"
1717
},
1818
"prettier": "@wordpress/prettier-config",
1919
"scripts": {

readme.txt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ Tags: code, code syntax, syntax highlight, code highlighting
55
Requires at least: 5.0
66
Tested up to: 5.7
77
Requires PHP: 5.6
8-
Stable tag: 2.0.3
8+
Stable tag: 2.0.4
99
License: GPLv2 or later
1010
License URI: https://www.gnu.org/licenses/gpl-2.0.html
1111

12-
Code Syntax Block plugin extends the Gutenberg Block Editor by adding syntax highlighting to the core code block.
12+
Code Syntax Block plugin extends the block editor by adding syntax highlighting to the core code block.
1313

1414
== Description ==
1515

16-
Code Syntax Block extends the WordPress Block Editor by adding syntax highlighting support to the core code block using the Prism syntax highlighter.
16+
Code Syntax Block extends the WordPress block editor by adding syntax highlighting support to the core code block using the Prism syntax highlighter.
1717

1818
The Prism syntax highlighter runs JavaScript loaded on the front-end to parse code blocks and apply syntax markup. A CSS file specifies the color and style to apply to that markup. See [Prism syntax highlighter](https://prismjs.com) for full details.
1919

@@ -108,6 +108,11 @@ Example:
108108

109109
== Changelog ==
110110

111+
= 2.0.4 =
112+
113+
- Fix pasting plain text stripping elements
114+
- Removing formating tools that did not work
115+
111116
= 2.0.3 =
112117

113118
Compatibility fixes with TwentyTwentyOne theme

0 commit comments

Comments
 (0)