Hi,
I created a plugin and I use the k-input textarea to display a WYSIWYG Editor in my panel.
Unfortunately, I can’t manage to make it work. When I press the “Datei” Button, I get an Error saying "No route found for path: “undefined/files” and request method: “GET”.
I was thinking, that it should be possible to set the endpoint property in my vue component to { files: ‘api/PAGE_WHERE_THE_PLUGIN_IS_USED’ }
<k-input
:value="content.text"
type="textarea"
@input="update({ text: $event })"
name="editor"
:uploads="false"
:endpoints="{ files: 'api' + $attrs.endpoints.model }"
/>
Does anybody know, how to use the endpoint property properly?
Thank you