mirror of
https://github.com/directus/directus.git
synced 2026-01-26 14:07:56 -05:00
Allow text for text based interfaces
This commit is contained in:
@@ -6,7 +6,7 @@ export default defineInterface(({ i18n }) => ({
|
||||
name: i18n.t('text_input'),
|
||||
icon: 'text_fields',
|
||||
component: InterfaceTextInput,
|
||||
types: ['string'],
|
||||
types: ['string', 'text'],
|
||||
options: [
|
||||
{
|
||||
field: 'placeholder',
|
||||
|
||||
@@ -6,7 +6,7 @@ export default defineInterface(({ i18n }) => ({
|
||||
name: i18n.t('textarea'),
|
||||
icon: 'text_fields',
|
||||
component: InterfaceTextarea,
|
||||
types: ['string'],
|
||||
types: ['string', 'text'],
|
||||
options: [
|
||||
{
|
||||
field: 'placeholder',
|
||||
|
||||
@@ -6,7 +6,7 @@ export default defineInterface(({ i18n }) => ({
|
||||
name: i18n.t('wysiwyg'),
|
||||
icon: 'format_quote',
|
||||
component: InterfaceWYSIWYG,
|
||||
types: ['string'],
|
||||
types: ['string', 'text'],
|
||||
options: [
|
||||
{
|
||||
field: 'toolbar',
|
||||
|
||||
Reference in New Issue
Block a user