scrapinghub / slackbot

A chat bot for Slack (https://slack.com).
MIT License
1.26k stars 394 forks source link

Missing formatting bar in rich text input #237

Closed lancewl closed 9 months ago

lancewl commented 9 months ago

Hi,

I'm adding rich text input block to my modal. It does work like a rich text input since I can make a bullet point or make the bold font by using keyboard shortcut. However, the formatting tool bar seems to be missing:

Screenshot 2023-12-13 at 9 48 49 AM

I'm aiming to achieve the same appearance as the showcase from the Block Kit Builder:

Screenshot 2023-12-13 at 9 49 06 AM

Below is the code snippet for my block:

  {
      "type": "input",
      "element": {
          "type": "rich_text_input",
          "action_id": "des_key",
      },
      "label": {
          "type": "plain_text",
          "text": "Description",
          "emoji": True,
      },
  },

I would greatly appreciate any assistance on this issue. Thanks!