Make block visible on Edit page
-
Hi! I am trying to use custom blocks to create easy-to-use shortcodes, where all the user has to do is place the correct number in a box and the code uses that number to generate an animated donut chart of a percentage out of 100. I’ve got my custom block created, the block template set up and on the page itself it is correctly rendering the donut chart, but on the Edit page, the block is invisible unless I hover over it (my guess is because the Edit page is trying to show the HTML itself and the chart appearance is generated by a script that loads on the page itself, not the Edit page) so is there a way I can set the appearance of the block by default (without hovering over it) for just the Edit page, so people can see it to find it later, to edit or remove, etc? Or if I could make it display the way it does once I click on it, to edit it, where it has the block name and the field to put a number in.
- The topic ‘Make block visible on Edit page’ is closed to new replies.