Closed kulla closed 2 weeks ago
In the Moodle plugin we want to use the image plugin with a specific configuration so that the files are uploaded to Moodle.
image
ImageConfig
createBasicPlugins()
PluginsConfig
validate
Problem which needs to be solved
In the Moodle plugin we want to use the
image
plugin with a specific configuration so that the files are uploaded to Moodle.Solution
ImageConfig
tocreateBasicPlugins()
+PluginsConfig
-> When the upload-function is defined add the image plugin as well.validate
function into the editorvalidate
function the default function which does not need to be specified.