Plugin Directory

Changeset 3189078


Ignore:
Timestamp:
11/14/2024 10:57:01 PM (4 months ago)
Author:
Katsushi Kawamori
Message:
  • Fix - Rebuilt javascript.
  • Change - Changed the required version of WordPress.
Location:
image-to-text/trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • image-to-text/trunk/block/build/block.json

    r3006517 r3189078  
    1111    "text"
    1212  ],
    13   "version": "1.0.3",
     13  "version": "1.0.4",
    1414  "textdomain": "image-to-text",
    1515  "supports": {
  • image-to-text/trunk/block/build/index.asset.php

    r3006517 r3189078  
    1 <?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-i18n', 'wp-server-side-render'), 'version' => '36cba3de4f167d30bdeb');
     1<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-i18n', 'wp-server-side-render'), 'version' => '55c44aeb3c8794a4215f');
  • image-to-text/trunk/block/build/index.js

    r3006517 r3189078  
    1 (()=>{"use strict";var e={n:t=>{var o=t&&t.__esModule?()=>t.default:()=>t;return e.d(o,{a:o}),o},d:(t,o)=>{for(var l in o)e.o(o,l)&&!e.o(t,l)&&Object.defineProperty(t,l,{enumerable:!0,get:o[l]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.wp.blocks,o=window.React,l=window.wp.i18n,a=window.wp.serverSideRender;var n=e.n(a);const i=window.wp.components,r=window.wp.blockEditor,c=JSON.parse('{"u2":"image-to-text/imagetotext-block"}');(0,t.registerBlockType)(c.u2,{edit:function({attributes:e,setAttributes:t}){let a=[];for(let e=0;e<imagetotext_file.length;e++)a.push({label:imagetotext_file[e],value:imagetotext_file[e]});const c=(0,r.useBlockProps)();return(0,o.createElement)("div",{...c},(0,o.createElement)(n(),{block:"image-to-text/imagetotext-block",attributes:e}),(0,o.createElement)(i.TextControl,{label:(0,l.__)("Text","image-to-text"),value:e.text,onChange:e=>t({text:e})}),(0,o.createElement)(r.InspectorControls,null,(0,o.createElement)(i.PanelBody,{title:(0,l.__)("View","image-to-text"),initialOpen:!1},(0,o.createElement)(i.TextControl,{label:(0,l.__)("Text","image-to-text"),value:e.text,onChange:e=>t({text:e})}),(0,o.createElement)(i.ToggleControl,{label:(0,l.__)("alt text","image-to-text"),checked:e.alt,onChange:e=>t({alt:e})}),(0,o.createElement)(i.TextControl,{label:(0,l.__)("alt text","image-to-text"),value:e.alt_text,onChange:e=>t({alt_text:e})}),(0,o.createElement)(r.PanelColorSettings,{title:(0,l.__)("Color Settings","image-to-text"),colorSettings:[{value:e.back_color,onChange:e=>t({back_color:e}),label:(0,l.__)("Back Color","image-to-text")},{value:e.font_color,onChange:e=>t({font_color:e}),label:(0,l.__)("Font Color","image-to-text")}]})),(0,o.createElement)(i.PanelBody,{title:(0,l.__)("Font","image-to-text"),initialOpen:!1},(0,o.createElement)(i.RangeControl,{label:(0,l.__)("Font Size","image-to-text"),max:100,min:3,value:e.font_size,onChange:e=>t({font_size:e})}),(0,o.createElement)(i.SelectControl,{label:(0,l.__)("Font file","image-to-text"),value:e.font_file,options:a,onChange:e=>{t({font_file:e})}}),(0,o.createElement)(i.RangeControl,{label:(0,l.__)("Font baseline adjust","image-to-text"),max:1.45,min:1.2,step:.01,value:e.vt_mg,onChange:e=>t({vt_mg:e})}))))}})})();
     1(()=>{"use strict";var t={n:e=>{var o=e&&e.__esModule?()=>e.default:()=>e;return t.d(o,{a:o}),o},d:(e,o)=>{for(var n in o)t.o(o,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:o[n]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e)};const e=window.wp.blocks,o=window.wp.i18n,n=window.wp.serverSideRender;var a=t.n(n);const l=window.wp.components,i=window.wp.blockEditor,r=window.ReactJSXRuntime,_=JSON.parse('{"UU":"image-to-text/imagetotext-block"}');(0,e.registerBlockType)(_.UU,{edit:function({attributes:t,setAttributes:e}){let n=[];for(let t=0;t<imagetotext_file.length;t++)n.push({label:imagetotext_file[t],value:imagetotext_file[t]});const _=(0,i.useBlockProps)();return(0,r.jsxs)("div",{..._,children:[(0,r.jsx)(a(),{block:"image-to-text/imagetotext-block",attributes:t}),(0,r.jsx)(l.TextControl,{__nextHasNoMarginBottom:!0,label:(0,o.__)("Text","image-to-text"),value:t.text,onChange:t=>e({text:t})}),(0,r.jsxs)(i.InspectorControls,{children:[(0,r.jsxs)(l.PanelBody,{title:(0,o.__)("View","image-to-text"),initialOpen:!1,children:[(0,r.jsx)(l.TextControl,{__nextHasNoMarginBottom:!0,label:(0,o.__)("Text","image-to-text"),value:t.text,onChange:t=>e({text:t})}),(0,r.jsx)(l.ToggleControl,{__nextHasNoMarginBottom:!0,label:(0,o.__)("alt text","image-to-text"),checked:t.alt,onChange:t=>e({alt:t})}),(0,r.jsx)(l.TextControl,{__nextHasNoMarginBottom:!0,label:(0,o.__)("alt text","image-to-text"),value:t.alt_text,onChange:t=>e({alt_text:t})}),(0,r.jsx)(i.PanelColorSettings,{title:(0,o.__)("Color Settings","image-to-text"),colorSettings:[{value:t.back_color,onChange:t=>e({back_color:t}),label:(0,o.__)("Back Color","image-to-text")},{value:t.font_color,onChange:t=>e({font_color:t}),label:(0,o.__)("Font Color","image-to-text")}]})]}),(0,r.jsxs)(l.PanelBody,{title:(0,o.__)("Font","image-to-text"),initialOpen:!1,children:[(0,r.jsx)(l.RangeControl,{__nextHasNoMarginBottom:!0,label:(0,o.__)("Font Size","image-to-text"),max:100,min:3,value:t.font_size,onChange:t=>e({font_size:t})}),(0,r.jsx)(l.SelectControl,{__nextHasNoMarginBottom:!0,label:(0,o.__)("Font file","image-to-text"),value:t.font_file,options:n,onChange:t=>{e({font_file:t})}}),(0,r.jsx)(l.RangeControl,{__nextHasNoMarginBottom:!0,label:(0,o.__)("Font baseline adjust","image-to-text"),max:1.45,min:1.2,step:.01,value:t.vt_mg,onChange:t=>e({vt_mg:t})})]})]})]})}})})();
  • image-to-text/trunk/block/package.json

    r3006517 r3189078  
    11{
    22  "name": "image-to-text",
    3   "version": "1.0.3",
     3  "version": "1.0.4",
    44  "description": "Image to Text Block",
    55  "main": "index.js",
     
    1212  "license": "GPL-2.0-or-later",
    1313  "devDependencies": {
    14     "@wordpress/scripts": "26.18.0"
     14    "@wordpress/scripts": "30.4.0"
    1515  },
    1616  "dependencies": {
    17     "@wordpress/i18n": "^4.47.0",
    18     "@wordpress/server-side-render": "^4.24.0"
     17    "@wordpress/i18n": "^5.11.0",
     18    "@wordpress/server-side-render": "^5.11.0"
    1919  }
    2020}
  • image-to-text/trunk/block/src/block.json

    r3006517 r3189078  
    1111    "text"
    1212  ],
    13   "version": "1.0.3",
     13  "version": "1.0.4",
    1414  "textdomain": "image-to-text",
    1515  "supports": {
  • image-to-text/trunk/block/src/edit.js

    r3006517 r3189078  
    1919            />
    2020            <TextControl
     21                __nextHasNoMarginBottom
    2122                label = { __( 'Text', 'image-to-text' ) }
    2223                value = { attributes.text }
     
    2728                <PanelBody title = { __( 'View', 'image-to-text' ) } initialOpen = { false }>
    2829                    <TextControl
     30                        __nextHasNoMarginBottom
    2931                        label = { __( 'Text', 'image-to-text' ) }
    3032                        value = { attributes.text }
     
    3234                    />
    3335                    <ToggleControl
     36                        __nextHasNoMarginBottom
    3437                        label = { __( 'alt text', 'image-to-text' ) }
    3538                        checked = { attributes.alt }
     
    3740                    />
    3841                    <TextControl
     42                        __nextHasNoMarginBottom
    3943                        label = { __( 'alt text', 'image-to-text' ) }
    4044                        value = { attributes.alt_text }
     
    6064                <PanelBody title = { __( 'Font', 'image-to-text' ) } initialOpen = { false }>
    6165                    <RangeControl
     66                        __nextHasNoMarginBottom
    6267                        label = { __( 'Font Size', 'image-to-text' ) }
    6368                        max = { 100 }
     
    6772                    />
    6873                    <SelectControl
     74                        __nextHasNoMarginBottom
    6975                        label = { __( 'Font file', 'image-to-text' ) }
    7076                        value = { attributes.font_file }
     
    7379                    />
    7480                    <RangeControl
     81                        __nextHasNoMarginBottom
    7582                        label = { __( 'Font baseline adjust', 'image-to-text' ) }
    7683                        max = { 1.45 }
  • image-to-text/trunk/imagetotext.php

    r3045287 r3189078  
    44 * Plugin URI:  https://wordpress.org/plugins/image-to-text/
    55 * Description: Image to text.
    6  * Version:     2.10
     6 * Version:     2.11
    77 * Author:      Katsushi Kawamori
    88 * Author URI:  https://riverforest-wp.info/
  • image-to-text/trunk/readme.txt

    r3182705 r3189078  
    33Donate link: https://shop.riverforest-wp.info/donate/
    44Tags: block, font, image, shortcode, text
    5 Requires at least: 4.7
     5Requires at least: 6.6
    66Requires PHP: 8.0
    77Tested up to: 6.7
    8 Stable tag: 2.10
     8Stable tag: 2.11
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4040
    4141== Changelog ==
     42
     43= [2.11] 2024/11/15 =
     44* Fix - Rebuilt javascript.
     45* Change - Changed the required version of WordPress.
    4246
    4347= [2.10] 2024/03/05 =
Note: See TracChangeset for help on using the changeset viewer.