Class ShortcutKeys
Defines the ShortcutKeys for Rich Text Editor operations.
Inheritance
Namespace: Syncfusion.Blazor.RichTextEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class ShortcutKeys : Object
Remarks
This class contains key bindings that provide quick access to commonly used editor functions, enhancing productivity through keyboard shortcuts.
Constructors
ShortcutKeys()
Declaration
public ShortcutKeys()
Properties
Bold
Defines the shortcut key for bold text.
Declaration
public string Bold { get; set; }
Property Value
Type | Description |
---|---|
System.String | A keystroke string for bolding, default is "ctrl+b". |
Remarks
BoldKey helps quickly emphasize important text, saving time during styling.
ClearFormat
Defines the shortcut key for clearing formatting.
Declaration
public string ClearFormat { get; set; }
Property Value
Type | Description |
---|---|
System.String | A clear format command, default is "ctrl+shift+r". |
Remarks
ClearFormat swiftly removes all applied text styles, reverting to default settings.
Copy
Defines the shortcut key for the copy action.
Declaration
public string Copy { get; set; }
Property Value
Type | Description |
---|---|
System.String | A copy activation string, default is "ctrl+c". |
Remarks
Copy enhances data replication within or between documents efficiently.
Cut
Defines the shortcut key for the cut action.
Declaration
public string Cut { get; set; }
Property Value
Type | Description |
---|---|
System.String | A cut instruction string, default is "ctrl+x". |
Remarks
Cut removes content from the current doc with the potential for subsequent pasting.
FullScreen
Defines the shortcut key for entering full-screen mode.
Declaration
public string FullScreen { get; set; }
Property Value
Type | Description |
---|---|
System.String | A full-screen toggle command, default is "ctrl+shift+f". |
Remarks
FullScreenKey enhances the user experience by maximizing the editor view for focused writing.
HtmlSource
Defines the shortcut key for viewing HTML source.
Declaration
public string HtmlSource { get; set; }
Property Value
Type | Description |
---|---|
System.String | An HTML view keystroke set, default is "ctrl+shift+h". |
Remarks
HtmlSourceKey allows developers and users to see and edit the HTML underlying the content.
Indents
Defines the shortcut key for indenting text.
Declaration
public string Indents { get; set; }
Property Value
Type | Description |
---|---|
System.String | An indent addition string, default is "ctrl+]". |
Remarks
Indents adjust section positioning for clear visual hierarchy or layout enhancement.
InsertImage
Defines the shortcut key for inserting an image.
Declaration
public string InsertImage { get; set; }
Property Value
Type | Description |
---|---|
System.String | A keystroke combination presented as a string, default is "ctrl+shift+i". |
Remarks
InsertImage provides rapid access to image upload functions, streamlining media integration.
InsertLink
Defines the shortcut key for inserting a link.
Declaration
public string InsertLink { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string pattern identifying the key combination, default is "ctrl+k". |
Remarks
InsertLink accelerates the hyperlinking process, allowing quick access to link dialogs.
InsertTable
Defines the shortcut key for inserting a table.
Declaration
public string InsertTable { get; set; }
Property Value
Type | Description |
---|---|
System.String | A defined key command, default is "ctrl+shift+e". |
Remarks
InsertTable facilitates prompt table generation, enhancing content organization productivity.
Italic
Defines the shortcut key for italic text.
Declaration
public string Italic { get; set; }
Property Value
Type | Description |
---|---|
System.String | An italic keystroke sequence, default is "ctrl+i". |
Remarks
ItalicKey provides immediate text emphasis, suitable for citations or special terms.
JustifyCenter
Defines the shortcut key for center justification of text.
Declaration
public string JustifyCenter { get; set; }
Property Value
Type | Description |
---|---|
System.String | A command string for center justification, default is "ctrl+e". |
Remarks
JustifyCenter aligns text centrally within its container, providing aesthetic balance.
JustifyFull
Defines the shortcut key for full justification of text.
Declaration
public string JustifyFull { get; set; }
Property Value
Type | Description |
---|---|
System.String | A keystroke for full justification, default is "ctrl+j". |
Remarks
JustifyFull spreads text evenly across lines, ensuring a professional appearance.
JustifyLeft
Defines the shortcut key for left justification of text.
Declaration
public string JustifyLeft { get; set; }
Property Value
Type | Description |
---|---|
System.String | A left align command, default is "ctrl+l". |
Remarks
JustifyLeft aligns content to the left, a standard in most paragraph formatting styles.
JustifyRight
Defines the shortcut key for right justification of text.
Declaration
public string JustifyRight { get; set; }
Property Value
Type | Description |
---|---|
System.String | A keystroke for right alignment, default is "ctrl+r". |
Remarks
JustifyRight is useful for aligning numbers, dates, or for creating stylized documents.
LowerCase
Defines the shortcut key for changing text to lowercase.
Declaration
public string LowerCase { get; set; }
Property Value
Type | Description |
---|---|
System.String | A lowercase directive sequence, default is "ctrl+shift+l". |
Remarks
LowerCaseKey expedites text case adjustments toward lowercase for standardized formats.
OrderedList
Defines the shortcut key for creating an ordered list.
Declaration
public string OrderedList { get; set; }
Property Value
Type | Description |
---|---|
System.String | A keystroke sequence for ordered lists, default is "ctrl+shift+o". |
Remarks
OrderedListKey quickly transforms selected text into a numbered list for clarity and organization.
Outdents
Defines the shortcut key for outdenting text.
Declaration
public string Outdents { get; set; }
Property Value
Type | Description |
---|---|
System.String | An outdumpedic setting, default is "ctrl+[". |
Remarks
Outdents reverse indentation for alignment or design recalibration.
Paste
Defines the shortcut key for the paste action.
Declaration
public string Paste { get; set; }
Property Value
Type | Description |
---|---|
System.String | A paste trigger string, default is "ctrl+v". |
Remarks
Paste places copied or cut content back into the document, minimizing interruption.
Redo
Defines the shortcut key for redo operation.
Declaration
public string Redo { get; set; }
Property Value
Type | Description |
---|---|
System.String | A command string for redo, default is "ctrl+y". |
Remarks
Redo reinstates actions that were previously undone, maintaining continuous editing flow.
StrikeThrough
Defines the shortcut key for striking through text.
Declaration
public string StrikeThrough { get; set; }
Property Value
Type | Description |
---|---|
System.String | A strikethrough activation command, default is "ctrl+shift+s". |
Remarks
StrikeThroughKey allows for fast marking of deletions or alternate text phrasing.
SubScript
Defines the shortcut key for subscript text.
Declaration
public string SubScript { get; set; }
Property Value
Type | Description |
---|---|
System.String | A subscript activation sequence, default is "ctrl+=". |
Remarks
SubScriptKey lowers text for footnotes, chemical formulas, or typographic clarity.
SuperScript
Defines the shortcut key for superscript text.
Declaration
public string SuperScript { get; set; }
Property Value
Type | Description |
---|---|
System.String | A command for superscript, default is "ctrl+shift+=". |
Remarks
SuperScriptKey quickly elevates text for scientific, mathematical, or typographic needs.
ToolbarFocus
Defines the shortcut key for focusing the toolbar.
Declaration
public string ToolbarFocus { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the keyboard command, default is "alt+f10". |
Remarks
ToolbarFocus enables users to switch their focus to the editor toolbar swiftly to perform formatting or other tasks.
Underline
Defines the shortcut key for underline text.
Declaration
public string Underline { get; set; }
Property Value
Type | Description |
---|---|
System.String | An underlining text command, default is "ctrl+u". |
Remarks
UnderlineKey facilitates swift application of underlines to selected text segments.
Undo
Defines the shortcut key for undo operation.
Declaration
public string Undo { get; set; }
Property Value
Type | Description |
---|---|
System.String | A command string for undo, default is "ctrl+z". |
Remarks
Undo quickly reverts recent editorial adjustments, supporting iterative enhancement and error correction.
UnorderedList
Defines the shortcut key for creating an unordered list.
Declaration
public string UnorderedList { get; set; }
Property Value
Type | Description |
---|---|
System.String | A shortcut for bullet lists, default is "ctrl+alt+o". |
Remarks
UnorderedListKey converts text to bulleted format, ideal for lists without a sequence.
UpperCase
Defines the shortcut key for changing text to uppercase.
Declaration
public string UpperCase { get; set; }
Property Value
Type | Description |
---|---|
System.String | An uppercase conversion sequence, default is "ctrl+shift+u". |
Remarks
UpperCaseKey streamlines the transformation of text to uppercase, enhancing readability.