Quantcast
Channel: BugNET Issue Tracker (Moved to GitHub)
Viewing all articles
Browse latest Browse all 2179

Updated Wiki: HtmlEditorProvider

$
0
0

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.

<HtmlEditorProviderdefaultProvider="FckHtmlEditorProvider"><providers><addname="TextboxHtmlEditorProvider"type="BugNET.Providers.HtmlEditorProviders.TextboxHtmlEditorProvider, BugNET.Providers.TextboxHtmlEditorProvider"Height="200"Width="650"/><addname="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

Viewing all articles
Browse latest Browse all 2179

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>