• Resolved jospii

    (@jospii)


    Hello nK,

    I was thinking if it’s possible to add controls inside theme template that would be visible only in editor view and I want to update the control values from the editor, inside the block.

    I made this example picture because it’s hard to explain, I hope this helps to understand.
    https://i.imgur.com/BwNN2X9.png

    If this is possible, can you point me in the right direction?

    Your plugin is awesome btw. Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author nK

    (@nko)

    Hey,

    Unfortunately, it is not possible, and I don’t know will it be possible in the future or no. The problem here is in the different output methods. Block preview – is static HTML, returned from the server in string format. Controls render – is live React components, which actually rendered using javascript.

    Regards, nK.

Viewing 1 replies (of 1 total)

The topic ‘Updating control values from php template in editor view’ is closed to new replies.