skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI UI for Xamarin

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic FiddlerCap FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
  • Blazor Hybrid
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • Blazor Tutorials and Learning
    • First Stepswith Blazor Web Assembly
    • First Steps with Blazor Server
    • First Steps with Blazor Hybrid
    • Accessibility and Security
    • Submit a Ticket
    • FAQs

    Docs & Resources

    • Docs
    • Demos
    • Modernization and Migration
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs

    Productivity and Design Tools

    • REPL for Blazor
    • ThemeBuilder
    • Design System Documentation
    • Figma Kits
    • Visual Studio Extensions
    • Visual Studio Code Extensions
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class TelerikEditor

The class for the Telerik Editor component.

Inheritance
System.Object
BaseComponent
TelerikInputBase<System.String>
TelerikEditor
Inherited Members
TelerikInputBase<String>.SetParametersAsync(ParameterView)
TelerikInputBase<String>.OnInitializedAsync()
TelerikInputBase<String>.Dispose()
TelerikInputBase<String>.FocusAsync()
TelerikInputBase<String>.CascadedEditContext
TelerikInputBase<String>.FloatingLabel
TelerikInputBase<String>.Id
TelerikInputBase<String>.Enabled
TelerikInputBase<String>.TabIndex
TelerikInputBase<String>.ValueExpression
TelerikInputBase<String>.ValueChanged
TelerikInputBase<String>.Value
TelerikInputBase<String>.OnChange
TelerikInputBase<String>.OnBlur
TelerikInputBase<String>.AriaLabel
TelerikInputBase<String>.AriaLabelledBy
TelerikInputBase<String>.AriaDescribedBy
TelerikInputBase<String>.ValidateOn
BaseComponent.ShouldRender()
BaseComponent.InitLocalizer()
BaseComponent.ThrowIfParameterIsNull(Object, String)
BaseComponent.HaveOptionsChanged(IDictionary<String, Object>, IDictionary<String, Object>)
BaseComponent.GetClassString(String[])
BaseComponent.InvokeAsync<T>(String, Object[])
BaseComponent.InvokeAsync<T>(String, CancellationToken, Object[])
BaseComponent.InvokeVoidAsync(String, Object[])
BaseComponent.InvokeComponentMethodAsync<T>(String, Object[])
BaseComponent.InvokeComponentMethodAsync<T>(String, CancellationToken, Object[])
BaseComponent.InvokeVoidComponentMethodAsync(String, Object[])
BaseComponent.InvokeComponentVoidMethodAsync(String, Object)
BaseComponent.InvokeDisposeAsync()
BaseComponent.StateHasChanged()
BaseComponent.RootComponent
BaseComponent.Class
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll

Syntax

public class TelerikEditor : TelerikInputBase<string>, ILabelableInput, IDisposable, IEditorContainer

Constructors

TelerikEditor()

Declaration
public TelerikEditor()

Properties

Adaptive

Specify if the toolbar should adapt and automatically hide and show the overflowing items a popup. Default value is false.

Declaration
public bool Adaptive { get; set; }
Property Value
System.Boolean

DebounceDelay

Defines the debounce delay after which ValueChanged fires. Default value 100ms.

Declaration
public int DebounceDelay { get; set; }
Property Value
System.Int32

EditMode

Defines whether the editor should render iframe, or div for the content area.

Declaration
public EditorEditMode EditMode { get; set; }
Property Value
EditorEditMode

EditorCustomTools

Defines the container of custom tool renderings. EditorCustomTool.

Declaration
public RenderFragment EditorCustomTools { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment

EditorSettings

Defines the container of editor settings. EditorPasteSettings.

Declaration
public RenderFragment EditorSettings { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment

Height

Defines the height of the Editor. Default value 250px.

Declaration
public string Height { get; set; }
Property Value
System.String

Plugins

The name of the JS function declared in the global scope (window object) that will be used to provide custom ProseMirror plugins. The function accepts an arguments object with the following properties:

  1. getSchema - a function that returns the current schema object. Before the editor is initialized, the schema is the default schema. After the editor is initialized, the schema is the current schema.
  2. getView - a function that returns the currently used instance of EditorView object. Before the editor is initialized, the view (the result of the function) is null.
  3. ProseMirror - object that contains various ProseMirror classes and functions.
  4. getPlugins - function that accepts schema as an argument and returns the default Telerik Editor plugins. The function should return an array of ProseMirror plugins. Note: To ensure all the built-in functionalities of the Telerik Editor are working correctly, the result array should contain the default plugins which can be recieved by calling the getPlugins function.
Declaration
public string Plugins { get; set; }
Property Value
System.String

ReadOnly

The parameter is used to specify if the input field should be read-only. When set to true, the input becomes non-editable.

Declaration
public bool ReadOnly { get; set; }
Property Value
System.Boolean

Schema

The name of the JS function declared in the global scope (window object) that will be used to provide custom ProseMirror schema. The function accepts an arguments object with the following properties:

  1. getSchema - a function that returns the current schema object. Before the editor is initialized, the schema is the default schema. After the editor is initialized, the schema is the current schema.
  2. getView - a function that returns the currently used instance of EditorView object. Before the editor is initialized, the view (the result of the function) is null.
  3. ProseMirror - object that contains various ProseMirror classes and functions. The function should return an instance of the ProseMirror Schema class.
Declaration
public string Schema { get; set; }
Property Value
System.String

SpellCheck

Defines the spellcheck HTML attribute of the editable container in the component. Support and behavior depends on the user environment.

Declaration
public string SpellCheck { get; set; }
Property Value
System.String

Tools

Defines the default Tools collection. Default value Default.

Declaration
public List<IEditorTool> Tools { get; set; }
Property Value
System.Collections.Generic.List<IEditorTool>

Width

Defines the width of the Editor.

Declaration
public string Width { get; set; }
Property Value
System.String

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder

ExecuteAsync(ToolCommandArgsBase)

Declaration
public Task ExecuteAsync(ToolCommandArgsBase args)
Parameters
ToolCommandArgsBase args

Returns
System.Threading.Tasks.Task

OnAfterRenderAsync(Boolean)

Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
System.Boolean firstRender

Returns
System.Threading.Tasks.Task

Overrides
BaseComponent.OnAfterRenderAsync(Boolean)

OnParametersSetAsync()

Declaration
protected override Task OnParametersSetAsync()
Returns
System.Threading.Tasks.Task

Overrides
Telerik.Blazor.Components.Common.TelerikInputBase<System.String>.OnParametersSetAsync()
Getting Started
  • Client-side Blazor
  • Server-side Blazor
  • Demos
Community
  • Forums
  • Blogs
  • Feedback Portal
Support Resources
  • Demos
  • Knowledge Base
  • Samples Repo
  • Localizations Repo
Sample Applications
  • Dashboard
  • PWA - Stocks
  • PWA - Blazing Coffee Roasters

Copyright © 2019 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.