Hi So i'm trying to make a richtext block where the First line will be a h1, and when u press enter u get to type a pharagraph, I tried using the multiline attribute with a value of "p" but that doesn't work,  I wonder if anyone can h...
I am fairly experienced with PHP and Wordpress theming, but now struggling with the new Gutenberg editor. I have created a custom block plugin, which involves a lot of JS (React). To the latter I am a bit new.  The block is creating a simple wrapper...
I am trying to upload the file via Media Library from Inspect Control in Gutenberg. I am using this code currently in JS :  var el = wp.element.createElement,     registerBlockType = wp.blocks.registerBlockType,     ServerSideRender = wp.components.S...
When selecting the "core" store of Wordpress JavaScript API via wp.data.select("core") I get an incomplete list of selectors.     The selector I get are the following:    canUser: ƒ ()    getAuthors: ƒ ()   getEmbedPreview: ƒ ()...
I'd like to add pagination to the latest posts gutenberg block. This block fetches posts through withSelect() and getEntityRecords(), similar to the block editor handbook.  The REST API returns two handy header fields for use in pagination: "...
I'm trying to enable users of my Wordpress plugin/theme, which uses a custom post type to handle products, to make a block that displays a summary of one of these custom posts. I'm trying to accomplish this by creating a custom block in my pl...
I've set up the ACF Gutenberg Block to render slick slider in the backend editor, and I put a console.log to make sure to see if it loads, and it does. However, it does not render a slider like it does on the front end.   I've tried using bot...
I am registering a block with custom JS in the editor:  function my_block_assets() {    wp_register_script(     'my-block-js', //      plugins_url( '/dist/my-block.js', dirname( __FILE__ ) ),     array( 'jquery' ),   );    reg...
I'm using ACF Blocks and have the following block.  acf_register_block_type(array(     'name'              => 'columns',     'title'             => __('Columns'),     'description'       => __('...
This should be relatively easy I imagine, however I cannot figure it out.   I am creating a custom Gutenberg block in JSX with React components which has an attribute I call datetime. Using the block you can choose a date and time that will be saved...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.