Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

block-editor

How to include externally hosted images into a gallery block

August 5, 2022 by Magenaut

WordPress has a really great native gallery function. The only downside I find is that it requires you to have the images on your domain.

Categories Q&A, Wordpress Tags block-editor, gallery, hosting, images Leave a comment

Start a line with – without converting to list

August 5, 2022 by Magenaut

When editing a text I cannot start the line with “-” because it is converted to list automatically. Sometimes, yes, this is what I need. But, when I want to keep the text as paragraph how can I use the editor to have the line starting with “-“?

Categories Q&A, Wordpress Tags block-editor Leave a comment

Gutenberg Dynamic Block not Storing Attributes

August 5, 2022 by Magenaut

My goal is for a dynamic Gutenberg Block to work. To find where I go wrong, I reverted it to a static block to check that the attributes save properly, and it works just fine. I also commented out the php side of things so that won’t affect anything.

Categories Q&A, Wordpress Tags block-editor Leave a comment

Custom post type editor uses old tinyMCE

August 5, 2022 by Magenaut

It is an old site made before the new block editor arrives. Now it’s running WP 5.0.11, and I do not want to make an upgrade right now for various reasons.

Categories Q&A, Wordpress Tags block-editor, custom-post-types, tinymce Leave a comment

Blocks. How to store default settings?

August 5, 2022 by Magenaut

I use a default custom image block in all my articles in 3 blogs, aligned left, link to media file.

Categories Q&A, Wordpress Tags block-editor Leave a comment

How to use get_theme_mod in gutenberg editor wordpress?

August 5, 2022 by Magenaut

In my old WordPress themes (before Gutenberg) I used get_theme_mod to get custom values for certain things in the theme.

Categories Q&A, Wordpress Tags block-editor, customization, plugin-development, plugins, theme-development Leave a comment

Block validation failed – escaped HTML in content save

August 5, 2022 by Magenaut

I’m trying to do a super simple block with two rich text areas – description and custom cta button. The button is saved with SVG inside, everything seems ok, but when I refresh the edited post, it sreams following:

Categories Q&A, Wordpress Tags block-editor Leave a comment

How to remove the core embed blocks in WordPress 5.6?

August 5, 2022 by Magenaut

Following up on this question, I want to remove some of the default (core) embed blocks in the WordPress block editor. As of WordPress 5.6, the blocks are no longer available under the core-embed/* namespace.

Categories Q&A, Wordpress Tags block-editor, wp-admin Leave a comment

Add button to Block toolbar: toggleFormat is undefined

August 5, 2022 by Magenaut

I’m try to add a custom button to the toolbar for paragraph blocks.

Categories Q&A, Wordpress Tags block-editor Leave a comment

Why is my Gutenberg block returning an error after initial save?

August 5, 2022 by Magenaut

I created a Gutenberg block but after saving it and going back into the post I receive this error:

Categories Q&A, Wordpress Tags block-editor, errors, functions, javascript Leave a comment
Older posts
Newer posts
← Previous Page1 … Page7 Page8 Page9 … Page14 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress