• Resolved xbhy

    (@xbhy)


    Hello, I am using this plugin with the block editor. I have a shortcode block with the following shortcode:
    [convert number=140.0 from=”czk” to=”eur”]
    This works fine, but what if I want to have the output in bold, aligned to center? The shortcode block doesn’t allow any formatting. Is it possible to combine it somehow with other blocks? I guess I would be able to do it in the classic editor, but I seem to have no clue here. Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter xbhy

    (@xbhy)

    Okay, I got it:) instead of using the shortcode block, I simply use the paragraph block. This allows to format the shortcode output in a WYSIWYG way.

    Plugin Contributor David Artiss

    (@dartiss)

    That’s it. I’d generally expect this to be used part way through a sentence rather than on its own line so wouldn’t think the shortcode block to usually be used. But, if it is, then this is the way to go.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Shortcode output formatting in Gutenberg’ is closed to new replies.