I wrote a custom FileProvider for CuteEditor 6 which works perfectly and I'm trying to convert it for RichTextEditor 8.
The main problem I have is that the new PathItem class returned by the GetFiles method has a "Name" property but doesn't have a URL like the FileItem had in CE 6. This is a problem for me because some of my files have cryptic physical names like "aad034xsfd4.txt" but I want to display a user-friendly name. I was able to do this very easily in CE 6
- var file = new FileItem()
- {
- Name = "Letter from the CEO",
- Url = "aad034xsfd4.txt"
- };
The friendly name would be displayed to my users but the URL would be used to retrieve the content of the file. This doesn't seem to be possible anymore in RTE 8. Am I correct?