Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Brice Maurin
    Participant

    Hi
    thanks for this great plugin. It’s almost perfect 🙂

    I say almost, because for the moment, i cannot figure how to add html to enclosed_content from the visual / gutenberg editor.

    Do I have any way to make this work in the visual editor ?

    Thanks !

    Hi Brice,

    Thanks for using Shortcoder.

    We cannot visually write the HTML for the enclosed content.
    However you can write the HTML somewhere else and copy paste it between [sc name="myshortcode"] <my html> [/sc]

    Below is an example.

    Hope this helps.

    Thanks,
    Aakash

    Brice Maurin
    Participant

    Thanks. The br are being striped when doing so. I’ll try something else

    Hi Brice,

    I believe, the break tags are added by the block editor. I would suggest insert the HTML in a single line.

    I agree that the code would be difficult to read for bigger HTML, but if we are using this enclosed content shortcode for bigger HTML then it means the shortcode content need to be optmized to ensure minimal external input.

    Thanks,
    Aakash

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Subscribe for updates

Get updates on the WordPress plugins, tips and tricks to enhance your WordPress experience. No spam. View newsletter