Comments (4)
Hi Jivedig, sorry for missing your request, I've asked the developers to follow up.
Thanks for your patience,
from wp-super-duper.
Hi @JiveDig,
Do you mean the hover preview or the actual output when editing a block?
This class was originally built only for our internal use and as such we just used code comments inside the class instead of documentation.
If we are talking hover preview then that was not an option when we originally built this class and when I last looked into it there was a bug where if previewed it would then not render initially when added. However if this is what you mean then I can check this again.
If you mean the edit block preview then this can be output in a few ways, usually this will just work out the box but if you need to check if you are in a editor preview then you can use $this->is_preview() and output something different .
Thanks,
Stiofan
from wp-super-duper.
Hmmm, I don't think I'm looking for either. In the editor I see my block settings but I do not see any of my output/HTML. I don't need anything different in editor vs front end, I was just wondering why I didn't see any of the actual block output.
from wp-super-duper.
You should, are you returning the content in the output() function or echoing it?
You can install this whole repo as a plugin and activate it, you can test the hello world example.
from wp-super-duper.
Related Issues (20)
- Hello World
- Enhancement Idea: Multi Select
- Enchancement: Radio buttons and true / false toggles
- Blocks not appearing in WP 5.5. HOT 4
- "Require login" blocks
- Divide into several files HOT 8
- Enhancement: create also Elementor/Divi blocks if they are active HOT 1
- Code style
- Port Widget Helper features
- Block widget editor doubles GD widgets+blocks HOT 2
- Refactor for v2 HOT 10
- Legacy Widgets???
- Auto recover blocks functions does not recover blocks in templatre parts in FSE
- code warnings
- GD sort and taxonomy AJAX calls can repeat if multiple CPTs on page
- Visibility Conditions for blocks
- Add option in visibility conditions for "Post Author"
- Console message in WP Admin: sd_auto_recover_blocks_fallback() HOT 1
- Test block changes
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 wp-super-duper.