Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions blocks/create-table/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ import { __ } from '@wordpress/i18n';
import { registerBlockType } from '@wordpress/blocks';
import ServerSideRender from '@wordpress/server-side-render';
import { PanelBody, SelectControl, BaseControl } from '@wordpress/components';
import { InspectorControls } from '@wordpress/block-editor';
import { InspectorControls, useBlockProps } from '@wordpress/block-editor';

registerBlockType('vk-google-job-posting-manager/create-table', {
apiVersion: 3,
title: __('Job Posting', 'vk-google-job-posting-manager'),
category: 'vk-blocks-cat',
attributes: {
Expand Down Expand Up @@ -69,7 +70,7 @@ registerBlockType('vk-google-job-posting-manager/create-table', {
</BaseControl>
</PanelBody>
</InspectorControls>
<div>
<div {...useBlockProps()}>
<ServerSideRender
block="vk-google-job-posting-manager/create-table"
attributes={attributes}
Expand Down
4 changes: 3 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ You can overwrite common fields value by fill out each post's custom fields.

== Changelog ==

* [ Outer ] Update block to use apiVersion: 3 for iframe-based editing

= 1.2.19 =
[ Bug fix ] Fixed an issue where a value of 0 in a custom field would disappear after reloading the page.
* [ Bug fix ] Fixed an issue where a value of 0 in a custom field would disappear after reloading the page.

= 1.2.18 =
* [ Outer ] Add PHP Require 7.4
Expand Down