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 URL responsible for serving the original image. A file name placeholder should be specified.
1547
+
The URL responsible for serving the original image. A file name placeholder should be specified. By default the placeholder value is URL encoded. If this is not desired, use a function.
1548
1548
1549
-
#### Example
1549
+
#### Example - imageUrl as String
1550
1550
1551
1551
<textarea id="editor"></textarea>
1552
1552
<script>
@@ -1559,6 +1559,21 @@ The URL responsible for serving the original image. A file name placeholder shou
1559
1559
});
1560
1560
</script>
1561
1561
1562
+
#### Example - imageUrl as Function (can be used to avoid automatic URL encoding)
The URL responsible for serving the original file. A file name placeholder should be specified.
2355
+
The URL responsible for serving the original file. A file name placeholder should be specified. By default the placeholder value is URL encoded. If this is not desired, use a function.
2341
2356
2342
-
#### Example
2357
+
#### Example - fileUrl as String
2343
2358
2344
2359
<textarea id="editor"></textarea>
2345
2360
<script>
@@ -2352,6 +2367,20 @@ The URL responsible for serving the original file. A file name placeholder shoul
2352
2367
});
2353
2368
</script>
2354
2369
2370
+
#### Example - fileUrl as Function (can be used to avoid automatic URL encoding)
2371
+
2372
+
<textarea id="editor"></textarea>
2373
+
<script>
2374
+
$("#editor").kendoEditor({
2375
+
fileBrowser: {
2376
+
transport: {
2377
+
fileUrl: function (e) {
2378
+
return "/content/files/" + e;
2379
+
}
2380
+
}
2381
+
});
2382
+
</script>
2383
+
2355
2384
### fileBrowser.transport.destroy `Object|String`
2356
2385
2357
2386
Options or URL which will handle the file and directory deletion. If not specified the delete button will not be present.
0 commit comments