Click or drag to resize
PageBuilderHtmlHelperExtensionsRichTextEditor Method
HTML helper for rich text inline editor.

Namespace: Kentico.PageBuilder.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
public static void RichTextEditor(
	this HtmlHelperExtensionPoint htmlHelper,
	string propertyName,
	string configurationName = "default"
)

Parameters

htmlHelper
Type: Kentico.Web.MvcHtmlHelperExtensionPoint
The object that provides methods to render HTML fragments.
propertyName
Type: SystemString
Name of the widget property which the inline editor edits.
configurationName (Optional)
Type: SystemString
Inline editor's configuration name.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type HtmlHelperExtensionPoint. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when the htmlHelper is null.
ArgumentExceptionThrown when the propertyName or configurationName are null or empty.
See Also