mediaEmbed: {
providers: [
{
// A URL regexp or an array of URL regexps:
url: /^example\.com\/media\/(\w+)/,
// To be defined only if the media are previewable:
html: match => '...'
},
...
]
}
This is what I am trying to do in config/nova-ckeditor.php:
Hey,
I would like to add additional providers to the mediaEmbed plugin as described in https://ckeditor.com/docs/ckeditor5/latest/features/media-embed.html
This is the example from the website:
This is what I am trying to do in config/nova-ckeditor.php:
This causes the editor to crash, e.g. not to be displayed in the Nova field.
Thank you for creating this package!