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. Image for the cookie policy date

Show me how to use and external and internal stylesheet in SfRichTextEditor (Xamarin.Forms)

Hi,

Please show me how to use and external and internal stylesheet in SfRichTextEditor (Xamarin.Forms).

Regards,

Gautam J


1 Reply

HD Hemalatha Duraisamy Syncfusion Team April 20, 2023 04:26 AM UTC

The Rich Text Editor provides the support to customise the style sheet type to load an HTML file from an external or internal file path by using the StyleSheetType bindable property. The stylesheet property has two constants: default and internal.Default

Loads the WebView resources through an external style sheet.

Internal

Loads the WebView resources through an internal style sheet.

Please find the modified sample link below:

https://www.syncfusion.com/downloads/support/directtrac/general/ze/RTEStylesheet-1110177990


Please find the more detail about stylesheet and code snippet below.

https://help.syncfusion.com/xamarin/rich-text-editor/basic-features#word-wrap


Note: It applies only to UWP users in China and Korea locations. It is not applicable in android and iOS, since android and iOS, can load the WebView resources using the external stylesheet


Loader.
Up arrow icon