Plugin Directory


Ignore:
Timestamp:
02/11/2026 03:00:04 PM (6 weeks ago)
Author:
bastho
Message:

Merge branch 'chatbot-title-and-icon' into 'main'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • faqtastic/trunk/src/chatbot/block.json

    r3443351 r3459058  
    11{
    2   "$schema": "https://schemas.wp.org/trunk/block.json",
    3   "apiVersion": 3,
    4   "name": "faqtastic/chatbot",
    5   "title": "FAQtastic Chatbot",
    6   "category": "widgets",
    7   "icon": "format-status",
    8   "textdomain": "faqtastic",
    9   "editorScript": "file:./editChatBot.js",
    10   "script": "file:./chatbot.js",
    11   "style": "file:./chatbot.css",
    12   "editorStyle": "file:./chatbot.css",
    13   "attributes": {
    14     "btnStyle" : {
    15       "type": "object",
    16       "default": {}
    17     },
    18     "chatbotHeaderText": {
    19       "type": "string",
    20       "default": "Chatbot"
    21     },
    22     "chatbotFirstMsg": {
    23       "type": "string",
    24       "default": "Ask me a question"
    25     },
    26     "chatInputPlaceholder": {
    27       "type": "string",
    28       "default": "Type your question..."
    29     },
    30     "chatbotPosition": {
    31       "type": "string",
    32       "default": "bottom-right"
     2    "$schema": "https://schemas.wp.org/trunk/block.json",
     3    "apiVersion": 3,
     4    "name": "faqtastic/chatbot",
     5    "title": "FAQtastic Chatbot",
     6    "category": "widgets",
     7    "icon": "format-status",
     8    "textdomain": "faqtastic",
     9    "editorScript": "file:./editChatBot.js",
     10    "script": "file:./chatbot.js",
     11    "style": "file:./chatbot.css",
     12    "editorStyle": "file:./chatbot.css",
     13    "attributes": {
     14        "btnStyle": {
     15            "type": "object",
     16            "default": {}
     17        },
     18        "chatbotHeaderText": {
     19            "type": "string",
     20            "default": "Chatbot"
     21        },
     22        "chatbotHeaderSubtitle": {
     23            "type": "string",
     24            "default": ""
     25        },
     26        "chatbotFirstMsg": {
     27            "type": "string",
     28            "default": "Ask me a question"
     29        },
     30        "chatInputPlaceholder": {
     31            "type": "string",
     32            "default": "Type your question..."
     33        },
     34        "chatbotPosition": {
     35            "type": "string",
     36            "default": "bottom-right"
     37        },
     38        "toggleIconType": {
     39            "type": "string",
     40            "default": "dashicon"
     41        },
     42        "toggleIconDashicon": {
     43            "type": "string",
     44            "default": "format-chat"
     45        },
     46        "toggleIconSvg": {
     47            "type": "string",
     48            "default": ""
     49        },
     50        "toggleIconImageId": {
     51            "type": "number",
     52            "default": 0
     53        },
     54        "toggleIconImageUrl": {
     55            "type": "string",
     56            "default": ""
     57        }
    3358    }
    34   }
    3559}
Note: See TracChangeset for help on using the changeset viewer.