Coder Social home page Coder Social logo

Comments (4)

pol76 avatar pol76 commented on September 27, 2024

Hi Jivedig, sorry for missing your request, I've asked the developers to follow up.
Thanks for your patience,

from wp-super-duper.

Stiofan avatar Stiofan commented on September 27, 2024

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.

JiveDig avatar JiveDig commented on September 27, 2024

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.

Stiofan avatar Stiofan commented on September 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.