RayCraftDocs
v1.0.3 raycraft.dev
On this page

WysiwygEditor

Complete

A full WYSIWYG editor for web pages and articles: configurable toolbar, tables, images and media library, clean pasting from Word and Excel, Markdown shortcuts, blocks with the / menu, and output as clean HTML, Markdown, JSON or e-mail HTML. It follows the theme of the page. Part of RayCraft Complete, in the package RayCraft.Blazor.Editor.

Example

WysiwygEditor control

Parameters

ParameterTypeDescription
ClassstringExtra CSS classes added to the root element.
DocumentIdstringNames this editor (draft key, element id, revisions).
Idstring
OptionsEditorOptionsEditorOptions: toolbar, mode, paste, upload, limits, labels, media and more.
StylestringInline style added to the root element.
ValuestringThe HTML of the document. Two-way.

Events

EventTypeDescription
OnEventEventCallback<EditorEvent>Raised with the name and the JSON data of an editor event.
OnReadyEventCallbackRaised when the editor is built in the browser.
ValueChangedEventCallback<string>Raised when the value changes.

Package

WysiwygEditor is part of RayCraft Complete. Package: RayCraft.Blazor.Complete. It comes from the private RayCraft feed and needs an active license. See Getting started.