chenz2
Forum Replies Created
-
Forum: Reviews
In reply to: [Gutenberg] N.1 worst editorYep, elementor and all the page builders that actually function correctly have nothing to worry about for a while to come.
I placed this JS code in a different location and now it seems to work. Maybe the order things are processed in affect things. Thanks!
Something must have changed between 1.0 to 1.01 that controls whether defaults work or not, since this javascript code below no longer works to assign defaults to these custom blocks.
So you can see below, the custom block I made with your program is listed. When I added it to a page before, the default alignment was set to full. This made it span the full width of page by default. Now however, when I insert your custom block, the default for align is just normal. It’s ignoring that I have it set to FULL. It was working in 1.0 but not anymore.
Thoughts?
// Default to Full // Existing Group that isn't Full will have "invalid content" error. // Clicking "Attempt Block Recovery" will fix it, but it becomes Full. case 'core/group': case 'core/cover': case 'boldblocks/new-custom-block': return lodash.assign( {}, settings, { attributes: lodash.assign( {}, settings.attributes, { align: { type: 'string', default: 'full' } } ), } );
- This reply was modified 3 years, 1 month ago by chenz2.
Thanks so much! That fixes that issue. Love the flexibility that now gives me.
I set TEMPLATE LOCK to NONE for my custom block, and then added it to a page. It still doesn’t let me delete it. https://www.screencast.com/t/maHpJjHt If the container row is not under NEW CUSTOM BLOCK in the hierarchy, it does let me delete it. So it seems when anything is in a custom block, it won’t let you delete it. Am I missing something or am I in the wrong place to remove the template lock for a custom block?
Yes I am aware old blocks cannot be loaded. That is totally fine and workable at this stage. I did that and the block does show in block manager. But what is the new way of naming a custom block? It used to be this, if the custom block name was new-custom block: boldblocks/new-custom-block
What would it be now, so I can set default values for it.
- This reply was modified 3 years, 1 month ago by chenz2.
Thanks! I do see them now.
Something must have changed though with the naming of the custom blocks. For instance, I use this code to make blocks a default size:
// Default to Full // Existing Group that isn't Full will have "invalid content" error. // Clicking "Attempt Block Recovery" will fix it, but it becomes Full. case 'core/group': case 'core/cover': case 'boldblocks/new-custom-block': return lodash.assign( {}, settings, { attributes: lodash.assign( {}, settings.attributes, { align: { type: 'string', default: 'full' } } ), } );
Now case ‘boldblocks/new-custom-block’ doesn’t work even though the name of the block is still new-custom-block. Did something change there?
Also, can you add Block Variations to block manager too? I might be stuck using those more based on how custom blocks are hard to delete.
I appreciate your willingness to look at all this! Loving this program.
- This reply was modified 3 years, 1 month ago by chenz2.
Don’t know if the helps maybe? https://wordpress.stackexchange.com/questions/386977/option-for-removing-block-not-appearing-in-custom-gutenberg-block
I should clarify. Your programs blocks do show up in the block inserter toolbox on the left (with block manager published), when you edit a page in WordPress. But they don’t show up in block manager anywhere, so I can’t change what block category they go in. Is there a manual way currently for me to move them to a certain block category? Like maybe some function code I can put in? This would be super helpful in the meantime.
Forum: Plugins
In reply to: [Page Builder Gutenberg Blocks – Kioken Blocks] Development still on?I am thinking about using Kioken for my many sites but I don’t think it is going to be supported. I think it’s safe to say it’s done. Kadence is a pretty good alternative but I do like KIOKEN better, so I’m going to take a chance and stick with it. That’s the danger of going with 1 person plugins is they could drop development at any time.
Forum: Plugins
In reply to: [Gutenberg] Set default image alignmentI have the same problem. I can get other blocks to align center by default but the core/image block doesn’t seem to work with the same codes that work with the other blocks.
I really dislike Gutenberg so I’m hoping something like this can be done because I’d rather use your builder over theirs. I love that yours integrates into the existing classic editor that has all the functionality I need.
I think the cursor option would probably make most sense to the most people. That way I get to choose where these things go rather than it defaulting to the bottom (or top) always. This is in regards to when using the wysiwyg editor (When clicking on the BLOCKS button that opens up that special blocks screen, just having those block designs insert at the bottom instead of top is fine, as long as it scrolls to that section on the left where it shows the preview.)
I’d be happy to test out anything you try! I love stuff like this.
Thanks! I’ll give it a test.
Are you guys not able to make it so that when you insert a new block, it goes to the bottom and it also brings that portion of the page into view, much like a ‘go to top’ button would in a page? It’s so frustrating to build a page and have to keep going to the top to get new blocks and drag them down. Or if i want to insert a new layout column, it always goes to top too.
I’m wondering if maybe at the least, when you choose a layout column, that can go wherever the cursor is in the editor instead of default to top? Or yeah, maybe a setting somewhere where people can choose the default action.
Thanks for considering this! Just trying to wrap up all the loose ends before I make the purchase.
Thanks so much! This will work just fine even if they have to select a dropdown first to see them. Is there a way to put a note in that empty white area to tell people that they have to do that to see the blocks I made?
Also, do you know why when you add a new section, whether in the editor itself or in the block popup, it always goes to top? No one builds sites from bottom to top and it’s really frustrating to have to keep moving each section down to the bottom when you add one. Is this something that can be changed?
I want to get a license to use this on all my sites (the white label version) but before I do, I want to make sure I can make it as easy as possible to use. So that’s why I ask this.
Really appreciate your help! Mike
Thanks for the quick reply! Basically I want to white label your builder with my own creations in the block manager (ONLY my creations). I have no way to do this though and I am stuck with my clients seeing all the blocks your company created too. Can I hire someone to edit this functionality? I think you have a great page builder but the designs leave a lot to be desired unfortunately, so I’d like to just show my own in there instead. Can you let me know what can be done or who I can talk to about this?
Thanks!