You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The return string was incorrect, it didn't have the $ prefix for interpolated strings; the placeholder {file.FileName} was never replaced, see my code in the previous post.
The project didn't have the "images" directory so saving the file generated an exception.
Activity
itg-assistant commentedon Jun 12, 2026
Dino Novak answered 2018-02-08 19:54:12 UTC
Also is there any TinyMCE sample.
How do you include this startup items and customize it?
tinymce.init({
selector: ‘textarea’, // change this value according to your HTML
plugins: ‘code’,
toolbar: ‘code’
});
Regarding the Upload functionality it is defined here for TinyMCE
https://www.tinymce.com/docs/get-started/upload-images/
How to define Upload in Wisej
itg-assistant commentedon Jun 12, 2026
Luca answered 2018-02-08 21:56:52 UTC
There isn’t anything different in Wisej. You have to setup a handler for the uploaded images.
itg-assistant commentedon Jun 12, 2026
Luca answered 2018-02-08 22:01:16 UTC
More here:
https://www.tinymce.com/docs/get-started/upload-images/
I have added this to the options
and added a simple handler:
There are of course many options and variations. It's just plain asp.net or mvc handlers. You can also use a php handler on the server.
itg-assistant commentedon Jun 12, 2026
Dino Novak answered 2018-02-09 11:08:49 UTC
Hi,
Please find attached sample with http handler defined and options set. But I am not able to get http handler firing ?
When you drag or paste the inage TinyMCE converts it to Base64 and keeps it in the HTML content, but i would like to avoid this.
Can you help please, feel free to upload it to examples when you manage to fix it , we should save time and nerves for others.
Regards,
D
itg-assistant commentedon Jun 12, 2026
Luca answered 2018-02-09 15:02:37 UTC
Hi Dino,
I have attached the fixed project. These are the errors:
Didn't enable the image plug in, you need to add "plugins":"image", see: https://www.tinymce.com/docs/plugins/image/
The return string was incorrect, it didn't have the $ prefix for interpolated strings; the placeholder {file.FileName} was never replaced, see my code in the previous post.
The project didn't have the "images" directory so saving the file generated an exception.
HTH
/Luca