Adding link in block description
-
Hi,
I still haven’t learned JavaScript (and React) deeply..
I would like to add a simple link to my block description, such as
<a href="url">link text</a>
The setup of my block is:registerBlockType('plugin/plugin-block', { title: 'Block Title', description: 'Description of my block', category: 'widgets', // etc })
When adding the link to the description, the link is returned as HTML in the editor.
So how can I output the link properly?
Guido
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Adding link in block description’ is closed to new replies.