Skip to content

Commit

Permalink
Merge pull request #2308 from vektor-inc/develop
Browse files Browse the repository at this point in the history
[ Change version ] 1.90.1.0
  • Loading branch information
kurudrive authored Nov 11, 2024
2 parents bcc9d9d + b4698fc commit 3eee149
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
7 changes: 5 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link:
Tags: Gutenberg,FAQ,alert
Requires at least: 6.3
Tested up to: 6.6
Stable tag: 1.88.0.2
Stable tag: 1.90.0.1
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -106,11 +106,14 @@ e.g.

== Changelog ==

= 1.90.1 =
[ Bug fix ][ Cover ] Fixed inline styles not being retained when adding a link.

= 1.90.0 =
[ Add function ][ Outer (Pro) ] Add book and pyramid in divider style.
[ Bug fix ] The split loading option is now supported for core/heading, core/image, and core/table styles for block editor.
[ Bug fix ][ Cover ] Fixed an issue where, after setting a link in the Cover block and adding two unstyled headings inside it, the content positioning would not apply upon returning to the editing screen (editing screen only).
[ Bug fix ][ Slider ] Add alert message.
[ Other ][ Slider ] Add alert message.

= 1.89.0 =
[ Add function ][ Outer (Pro) ] Added support for core text color settings.
Expand Down
3 changes: 2 additions & 1 deletion src/extensions/core/cover/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,14 @@ const insertLinkIntoCoverBlock = (element, blockType, attributes) => {
const existingClassName = element.props.className || '';
const classNameWithLink =
`${existingClassName} ${linkUrl ? 'has-link' : ''}`.trim();
const existingStyle = element.props.style || {};

// rel 属性の設定
const relAttribute =
linkTarget === '_blank' ? 'noopener noreferrer' : 'noopener';

return (
<div className={classNameWithLink}>
<div className={classNameWithLink} style={existingStyle}>
{element.props.children}
<a
href={linkUrl}
Expand Down
4 changes: 2 additions & 2 deletions vk-blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
* Plugin Name: VK Blocks Pro
* Plugin URI: https://github.com/vektor-inc/vk-blocks
* Description: This is a plugin that extends Block Editor.
* Version: 1.90.0.0
* Stable tag: 1.88.0.2
* Version: 1.90.1.0
* Stable tag: 1.90.0.1
* Requires at least: 6.3
* Author: Vektor,Inc.
* Author URI: https://vektor-inc.co.jp
Expand Down

0 comments on commit 3eee149

Please sign in to comment.