Fix bug with rich text component

This commit is contained in:
Andrew Kingston 2021-01-19 11:50:13 +00:00
parent 0a10bc6c71
commit fea3838ff9
2 changed files with 1 additions and 140 deletions

View File

@ -1,109 +1,4 @@
{ {
"_lib": "./dist/index.js",
"_templates": {
"saveRowButton": {
"description": "Save row button",
"component": "button"
}
},
"embed": {
"name": "Embed",
"description": "Embed stuff",
"props": {
"embed": "string"
}
},
"richtext": {
"name": "Rich Text",
"description": "A component that allows the user to enter long form text.",
"props": {
"value": "string"
}
},
"icon": {
"description": "A HTML icon tag",
"props": {
"icon": "string",
"size": {
"type": "string",
"default": "fa-lg"
},
"color": {
"type": "string",
"default": "#000"
}
}
},
"newrow": {
"name": "New Row",
"description": "Prepares a new row for creation",
"context": "table",
"children": true,
"data": true,
"baseComponent": true,
"props": {
"table": "tables"
}
},
"cardstat": {
"name": "Stat Card",
"props": {
"title": "string",
"value": "string",
"label": "string"
}
},
"cardhorizontal": {
"name": "Horizontal Card",
"props": {
"imageUrl": "string",
"heading": "string",
"description": "string",
"subtext": "string",
"linkText": "string",
"linkUrl": "string",
"linkColor": {
"type": "string",
"default": "#000"
},
"linkHoverColor": {
"type": "string",
"default": "#000"
},
"imageWidth": {
"type": "options",
"default": "8rem",
"options": [
"8rem",
"12rem",
"16rem"
]
},
"cardWidth": {
"type": "options",
"default": "32rem",
"options": [
"24rem",
"28rem",
"32rem",
"40rem",
"48rem",
"60rem",
"100%"
]
},
"imageHeight": {
"type": "options",
"default": "8rem",
"options": [
"8rem",
"12rem",
"16rem"
]
}
}
},
"bar": { "bar": {
"description": "Bar Chart", "description": "Bar Chart",
"data": true, "data": true,
@ -383,39 +278,4 @@
} }
} }
}, },
"datepicker": {
"name": "Date Picker",
"description": "Date Picker",
"bindable": "value",
"props": {
"placeholder": "string"
}
},
"image": {
"description": "an HTML <img> tag",
"props": {
"url": "string"
}
},
"heading": {
"name": "Heading",
"description": "An HTML H1 - H6 tag",
"props": {
"text": "string",
"type": {
"type": "options",
"default": "h1",
"options": [
"h1",
"h2",
"h3",
"h4",
"h5",
"h6"
]
}
},
"tags": []
}
} }

View File

@ -3,6 +3,7 @@
import { RichText } from "@budibase/bbui" import { RichText } from "@budibase/bbui"
const { styleable } = getContext("sdk") const { styleable } = getContext("sdk")
const component = getContext("component")
export let value = "" export let value = ""