I'm trying to pass a parameter on the URL provided in images_upload_url
.
This parameter changes depending on a field on the page. (A date input)
Is there any way I can set the value of images_upload_url
dynamically on TinyMCE?
Ok, so I ended up removing and initializing TinyMCE again.
function onChangeInput(){
tinymce.remove();
initEditor();
}
Not beautiful but it works just fine :)