Other Features
Explore all available features and configure which tools appear in the toolbar.
Basic Usage
Configure which tools appear in the toolbar using the toolbarOptions prop:
// Minimal toolbar
<HeliosEditor
toolbarOptions={['bold', 'italic', 'link']}
// ... other props
/>
// Full toolbar (default)
<HeliosEditor
toolbarOptions={[
'bold', 'italic', 'underline', 'strikethrough', 'subscript', 'superscript',
'highlight', 'fontColor', 'headings', 'fontFamily',
'lineSpacing', 'alignLeft', 'alignCenter', 'alignRight',
'alignJustify', 'unorderedList', 'orderedList', 'todoList',
'increaseIndent', 'decreaseIndent', 'link', 'insertImage',
'blockquote', 'codeBlock', 'pageBreak', 'caseChange', 'insertTable',
'comments', 'mentionUsers', // Collaboration features
'importWord', 'exportWord', 'exportPDF' // Import/Export features
]}
// ... other props
/>Available Options
Basic Formatting
bolditalicunderlinestrikethroughsubscriptsuperscripthighlightfontColorStructure
headingsfontFamilylineSpacingalignLeftalignCenteralignRightalignJustifyLists & Indentation
unorderedListorderedListtodoListincreaseIndentdecreaseIndentContent
linkinsertImageblockquotecodeBlockinsertTablepageBreakCollaboration
commentsmentionUserscomments - Add, view, and manage comments on selected textmentionUsers - Tag and mention users in the document
Import/Export
importWordexportWordexportPDFimportWord - Import from Word (.docx) filesexportWord - Export to Word (.doc) formatexportPDF - Export to PDF and download
Utilities
caseChangeExample: Blog Editor
<HeliosEditor
value={content}
onChange={setContent}
placeholder="Write your blog post..."
toolbarOptions={[
"bold",
"italic",
"underline",
"highlight",
"headings",
"alignLeft",
"alignCenter",
"alignRight",
"unorderedList",
"orderedList",
"link",
"insertImage",
"blockquote",
"insertTable",
]}
/>