Skip to main content
All docs
V25.2
  • ReportingResourcesConfigurator.RegisterRichEditScripts() Method

    Registers scripts required for the inline Rich Text Editor.

    Namespace: DevExpress.Blazor.Reporting

    Assembly: DevExpress.Blazor.Reporting.v25.2.JSBasedControls.Common.dll

    NuGet Package: DevExpress.Blazor.Reporting.JSBasedControls.Common

    Declaration

    public ReportingResourcesConfigurator RegisterRichEditScripts()

    Returns

    Type Description
    ReportingResourcesConfigurator

    A ReportingResourcesConfigurator object that can be used to further configure resources.

    Remarks

    Follow the steps below to enable inline editing functionality in the Rich Text control:

    1. In the App.razor file, call the RegisterRichEditScripts() method to register scripts required for the inline Rich Text Editor.

      @using DevExpress.Blazor.Reporting
      
      @DxResourceManager.RegisterScripts((config) => {
              config.ConfigureReporting(x => x.RegisterRichEditScripts());
          })
      

      Refer to the following topic for the list of DevExpress resources for Blazor components: DxResourceManager.

    2. Reference the Rich Edit stylesheet:

      <link href="_content/DevExpress.Blazor.Resources/css/devexpress-richedit/dx.richedit.css" rel="stylesheet" />
      
    See Also