We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

SfRichTextBoxAdv html mode image help and css changes

Thread ID:

Created:

Updated:

Platform:

Replies:

126144 Sep 27,2016 05:09 AM Sep 29,2016 08:18 AM WPF 3
loading
Tags: SfRichTextBoxAdv
Andrew
Asked On September 27, 2016 05:09 AM

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.

Emmima Josephine Jeyapaul [Syncfusion]
Replied On September 28, 2016 06:15 AM

Hi Andrew, 
Thank you for contacting Syncfusion support. 
We have logged provide options in Html Exporting with css styles and Image path as a feature request in our database. We will implement this feature in any of our upcoming releases. We usually have an interval of at least three months between releases. The feature implementation would also greatly depend on the factors such as product design, code compatibility and complexity. we request you to visit our website periodically for release updates.

 
Regards, 
Emmima. 


Andrew
Replied On September 28, 2016 08:55 AM

So what that means now?

There is no way i can make it with image paths? Or insert image at caret position myself?

I don't have time to wait month and stop the project, this is very poor support and documentation, looks like SfRichTextBoxAdv is very simple and feature missing control.

I need a solution ASAP, where is really no way to override it or something?

So, this means if i edit an external html document with images using this control it wont work?

Emmima Josephine Jeyapaul [Syncfusion]
Replied On September 29, 2016 08:18 AM

Hi Andrew, 
You have already created the support Incident for the same query. Please follow up the support incident to access this solution for your requirement under your Direct Trac account. Please log on to our support website to check for further updates. 
Please get back to us know if you need further assistance. 
 
Regards, 
Emmima. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;