Wrap shortcode inside custom block

Question

I use this shortcode very often: [foo]123[/foo].

I’d like to drag and drop a custom block in the block editor, instead of typing the shortcode (and making typos).

So how do I create a custom block, that just wraps that shortcode?

--------------------------------------------------

>>> Share a link to this question, just copy and paste the code bellow on your web page <<<

<a href="https://www.wptricks.com/question/wrap-shortcode-inside-custom-block/">

Wrap shortcode inside custom block</a>
0
, lonix 1 month 0 Answers 25 views 0

Leave an answer