Comments (9)
Trying to follow my new instructions on cwiccer.com I found the block but when I clicked on Add block an error message was displayed in the block inserter. I'll need to repeat the experiment to reproduce then analyze the problem.
from sb-children-block.
I reproduced the problem in cwiccer.com and herbmiller.me but don't yet know the cause of the problem.
I think this should be a separate issue.
from sb-children-block.
Having improved the readme.txt
file in v1.0.1 we now get different results.
It's a lot easier to find the block.
Basically I've implemented the equivalent of the black hat technique of keyword stuffing.
I don't think this is what WordPress.org would want.
I've updated my findings in https://herbmiller.me/sb-children-block-my-first-single-block-plugin/
I think I should raise an issue against Gutenberg.
from sb-children-block.
Now that WordPress 5.5 has been released I retested the installation
- On a new site I searched for
sb
and the block/plugin was listed. - Then I clicked on Add block and the plugin was installed and the block added to the page.
- The Add block button wasn't disabled though.
- Clicking on it again displayed "This block is already installed. Try reloading the page."
- I reloaded the page and searched for
sb
again. - The response was "No blocks found in your library. These blocks can be downloaded and installed.
- And SB Children block was the only block listed again.
from sb-children-block.
I think I should raise an issue against Gutenberg.
I discussed this briefly on Slack and said I might raise an issue entitled
Block Directory Search susceptible to keyword stuffing.
I haven't raised it yet.
from sb-children-block.
The latest situation is that I can no longer find the SB Children block using the block directory search.
I don't know why not. I've asked on the #pluginreview channel.
https://wordpress.slack.com/archives/C1LBM36LC/p1604166543315800
from sb-children-block.
I also asked in #meta. Dion Hulse replied
It looks like it might’ve dropped out the of the search index for some reason, unsure why, I’ve removed it from the block directory, and then re-added it (like you attempted it looks like) and it should now show up.
Re: like you attempted. I did recheck the zip file and got told it was already in the block directory. Hence the questions.
from sb-children-block.
With the current version of the block, v1.1.0, the problem with installing in the editor doesn't occur any more.
There's a new version coming, v1.2.0. I'll need to retest when it's on wordpress.org
from sb-children-block.
v1.2.3 now available with an updated src/README.md
from sb-children-block.
Related Issues (17)
- Add depth attribute to children-block HOT 1
- Prepare for multiple blocks HOT 1
- parent block - Add a block called parent block HOT 5
- Rename to sb-children-block HOT 3
- Internationalize and localize the sb/children-block HOT 2
- sb-children-block built with npm run build doesn't work HOT 8
- Improve documentation / format of the Depth attribute HOT 1
- Rename the block to 'oik-sb/children' and the title to 'Children' HOT 6
- Improve ability to style the block in the editor and front end HOT 8
- Pressing delete key in text fields in the settings bar sometimes deletes the block HOT 2
- Add Page list keyword and ability to select parent page
- Children block only works for the 'page' hierarchical post type HOT 1
- Children block not rendering in the editor HOT 2
- Update to the latest @wordpress/scripts package and rework as required HOT 1
- Update to the latest wp-scripts package HOT 4
- Support PHP 8.1 and PHP 8.2 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sb-children-block.