fileBrowser.messages Object
Defines texts shown within the file browser.
fileBrowser.messages.uploadFile String
(default: "Upload")
Defines text for upload button.
Example
<textarea id="editor"></textarea>
<script>
$("#editor").kendoEditor({
tools: [
"insertFile"
],
fileBrowser: {
messages: {
uploadFile: "Upload a file"
}
}
});
</script>
fileBrowser.messages.orderBy String
(default: "Arrange by")
Defines text for order by label.
Example
<textarea id="editor"></textarea>
<script>
$("#editor").kendoEditor({
tools: [
"insertFile"
],
fileBrowser: {
messages: {
orderBy: "Order by"
}
}
});
</script>
fileBrowser.messages.orderByName String
(default: "Name")
Defines text for Name item of order by drop down list.
Example
<textarea id="editor"></textarea>
<script>
$("#editor").kendoEditor({
tools: [
"insertFile"
],
fileBrowser: {
messages: {
orderByName: "Filename"
}
}
});
</script>
fileBrowser.messages.orderBySize String
(default: "Size")
Defines text for Size item of order by drop down list.
Example
<textarea id="editor"></textarea>
<script>
$("#editor").kendoEditor({
tools: [
"insertFile"
],
fileBrowser: {
messages: {
orderBySize: "File size"
}
}
});
</script>
fileBrowser.messages.directoryNotFound String
(default: "A directory with this name was not found.")
Defines text for dialog shown when the directory not found error occurs.
Example
<textarea id="editor"></textarea>
<script>
$("#editor").kendoEditor({
tools: [
"insertFile"
],
fileBrowser: {
messages: {
directoryNotFound: "Directory not found!"
}
}
});
</script>
fileBrowser.messages.emptyFolder String
(default: "Empty Folder")
Defines text displayed when folder does not contain items.
Example
<textarea id="editor"></textarea>
<script>
$("#editor").kendoEditor({
tools: [
"insertFile"
],
fileBrowser: {
messages: {
emptyFolder: "Folder is empty"
}
}
});
</script>
fileBrowser.messages.deleteFile String
(default: "Are you sure you want to delete {0}?")
Defines text for dialog shown when the file or directory is deleted.
Example
<textarea id="editor"></textarea>
<script>
$("#editor").kendoEditor({
tools: [
"insertFile"
],
fileBrowser: {
messages: {
deleteFile: "Are you sure? This action cannot be undone."
}
}
});
</script>
fileBrowser.messages.invalidFileType String
(default: "The selected file '{0}' is not valid. Supported file types are {1}.")
Defines text for dialog shown when an invalid file is set for upload.
Example
<textarea id="editor"></textarea>
<script>
$("#editor").kendoEditor({
tools: [
"insertFile"
],
fileBrowser: {
messages: {
invalidFileType: "Supported file types are {1}. Please retry your upload."
}
}
});
</script>
fileBrowser.messages.overwriteFile String
(default: "A file with name '{0}' already exists in the current directory. Do you want to overwrite it?")
Defines text for dialog shown when an already existing file is set for upload.
Example
<textarea id="editor"></textarea>
<script>
$("#editor").kendoEditor({
tools: [
"insertFile"
],
fileBrowser: {
messages: {
overwriteFile: "Do you want to overwrite the file with name '{0}'?"
}
}
});
</script>
fileBrowser.messages.search String
(default: "Search")
Defines text for search box placeholder.
Example
<textarea id="editor"></textarea>
<script>
$("#editor").kendoEditor({
tools: [
"insertFile"
],
fileBrowser: {
messages: {
search: "Find"
}
}
});
</script>