jsx-slack icon indicating copy to clipboard operation
jsx-slack copied to clipboard

preview adds submit button by default.. is a bug?

Open smoneta opened this issue 3 years ago • 2 comments

When I create this modal in the JSX page..

<Modal title="Lead Pass Bot">
  <Image src="https://c.tenor.com/I6kN-6X7nhAAAAAj/loading-buffering.gif" alt="something heading your way"/>             
</Modal>

I see this JSON on the right:

{
  "type": "modal",
  "title": {
    "type": "plain_text",
    "text": "Lead Pass Bot",
    "emoji": true
  },
  "blocks": [
    {
      "type": "image",
      "alt_text": "something heading your way",
      "image_url": "https://c.tenor.com/I6kN-6X7nhAAAAAj/loading-buffering.gif"
    }
  ]
}

which is OK I see that when I click PREVIEW adds the submit button in the block bit page is this intentional?

smoneta avatar Jun 16 '21 18:06 smoneta

Implicitly replacement seems to be happened after accesing Block Kit Builder. It always replaces even if using permalink generated by Block Kit Builder, not only jsx-slack.

I think it's a bug of Block Kit Builder, but jsx-slack cannot do anything because I'm not a part of Slack. Please try to report that to Slack directly.

  • https://api.slack.com/support
  • https://my.slack.com/help/requests/new

yhatt avatar Jun 16 '21 23:06 yhatt

Thanks!

smoneta avatar Jul 07 '21 16:07 smoneta