Skip to content

Commit

Permalink
Update from vk-blocks-pro
Browse files Browse the repository at this point in the history
  • Loading branch information
vektorinc committed Nov 11, 2024
1 parent 732cf92 commit 3bf827e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
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
2 changes: 1 addition & 1 deletion vk-blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: VK Blocks
* Plugin URI: https://github.com/vektor-inc/vk-blocks
* Description: This is a plugin that extends Block Editor.
* Version: 1.90.0.1
* Version: 1.90.1.0
* Stable tag: 1.90.0.1
* Requires at least: 6.3
* Author: Vektor,Inc.
Expand Down

0 comments on commit 3bf827e

Please sign in to comment.