This project is read-only.

Html Editor Provider

Each html editor provider inherits the HtmlEditorProvder base class and implements the abstract properties and methods. The initialize method is responsible for validating configuration options and setting the provider specific settings, this could be the skin to use or any other feature that the editor supports.

Configuration

Configuring your html provider is as simple as adding a new entry in the web.config and setting the default provider.

<HtmlEditorProvider defaultProvider="FckHtmlEditorProvider">
    <providers>
        <add name="TextboxHtmlEditorProvider" type="BugNET.Providers.HtmlEditorProviders.TextboxHtmlEditorProvider, BugNET.Providers.TextboxHtmlEditorProvider" Height="200" Width="650"/>
        <add name="FckHtmlEditorProvider" type="BugNET.Providers.HtmlEditorProviders.FckHtmlEditorProvider, BugNET.Providers.FckHtmlEditorProvider" Height="200" Width="650" ToolbarSet="BugNET" Skin="Silver" />
    </providers>
</HtmlEditorProvider>

Class Diagram

Below is a class diagram of how a typical html editor is constructed using the html editor provider model in BugNET.

htmleditorprovider.png

Last edited Mar 29, 2014 at 6:56 PM by dubeaud, version 4