Hi,
here I am again with another question about contentful-migration-cli
.
Is it possible to manage “Editor interface” within migrations?
For example:
Inside a migration I add a “Text” field called “Content” and I want to avoid Markdown editor. Something like that:
const model = migration.editContentType('model')
model.createField('content')
.name('Content')
.type(fieldTypes.TEXT)
.editorInterface({
widgetId: "multipleLine",
settings: {
helpText: "Help text"
}
})
Currently I’m using migration-cli
and then contentful-management.js
to complete this task.
Vincenzo