Hi.
I have a problem with SfRichTextBoxAdv images in html, i've checked the documentation, but it is poor.
If i save document as html, they are all embedded in img tag as a src data, but i need them just as relative to app folder links to images, is this supported?
The thing is i need some way to also change the image folder before they are added to document, a way to intercept add image dialog results.
This is how i should work:
1) I open app and type some text in editor, the app has already a dedicated image folder for relative access "img"
2) I want to add an image, but this image can be anywhere, on any disk and folder, i click add image and the dialog pop out
3) Now the requirement, when i choose image from any disk and folder it is first:
- copied to dedicated "img" folder in app dir
- its name is changed to unique
- the image now in "img" folder with unique name is added to the document as img tag with src that has a relative link this folder eg. <img src="img/some_unique_name.jpg" />
How i can do this?
Also, when i remove image from document, is there a way i can know that? Some event? I just want to delete it form the "img" folder when removing from document.
I need html and images separate, it will work as an editor for android app, so the img tags can not have embed image.
---
I also would like to know if i can somehow change the generated css styles, i don't want it to add font-family styles or i way to force a font-familly interanially.