Skip to content

About

standalone class that offers a highly flexible rich text editing experience with HTML support, key binding, data parsing and much more.

Topics

Resources

Stars

19 stars

Watchers

5 watching

Forks

Latest commit

 

History

73 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RTEdit-for-Xojo

A standalone class that provides a highly flexible rich text editing experience with HTML support.

Built on Quill 2.0.2 for XOJO users, RTEdit extends its capabilities by processing pasted clipboard data according to defined styling settings using a custom markup parser. It offers enhanced event handling and full access to all CSS and JavaScript elements—all within a single class instance with no dependencies.

REditor.Document = "<b>Bold Text Here</b>"
REditor.Initialize

Introduction & showcase video https://www.youtube.com/watch?v=j4tDSoc2MWk

Below is a list of its main properties, methods, and events.

Properties

Modules

AllowTables
AllowTextDragDrop
AllowVariables
AutoFormatLinks
KeyboardBindStyles

Formatting & Toolbar buttons

AllowAlignment
AllowBold
AllowBulletins
AllowCleanFormatting
AllowCode
AllowFontSelection
AllowHeaders
AllowIndentation
AllowItalic
AllowLinks
AllowList
AllowQuote
AllowStrikeThrough
AllowSubscript
AllowSuperscript
AllowTextBackgroundColor
AllowTextColor
AllowTextDirection
AllowTextDragDrop
AllowUnderline
AllowVideo

Colors

ColorBackground
ColorBackgroundSelection
ColorBlockQuote
ColorBlockQuoteLine
ColorCodeBlock
ColorCodeBlockBackground
Colorlink
ColorPlaceholder
ColorScrollbar
ColorScrollbarHover
ColorText
ColorTextItalic
ColorTextSelection
ColorToolbar
ColorToolbarDisabled
ColorToolbarHover
ColorVariablesPopupBackground
ColorVariablesPopupBackgroundSelected
ColorVariablesPopupScrollbarBackground
ColorVariablesPopupScrollbarThumb
ColorVariablesPopupScrollbarThumbHover
ColorVariablesPopupText
ColorVariablesPopupTextHover
ColorVariablesText

Other

Document
EnableRightClick
ColorScheme
EditMode
FontSize
PlaceHolder
Toolbar
ToolbarAlignment
ToolbarBackground
UserGuide
VariablesTextBold
VariablesTextItalic
Version

Methods

Getting document data

AutoInitialize
ExportDocumentAsJSON
getDocumentHTML
getDocumentLength
getDocumentMentions
getDocumentText
ImportDocumentFromJSON
InsertVariable
NewDocument
RemoveFocus
SaveColorsAsScheme
SelectAll

Other

AppendText
ClipboardPaste
Close
CopySelectionToClipboard
PrintDocument
RetrieveValue
ScrollToBottom
ScrollToTop
StoreValue
VariablesAt
VariablesBraces
VariablesBrackets
VariablesDollar
VariablesHash
VariablesPercent
UpdateVariableValue

Events

Some customized events include

ClipboardPaste
ContextualMenuItemSelected
DebugCSSData
DocumentChanged
EditorReady
ErrorMessage
FocusReceived
MouseLeftClick
MouseRightClick
UserSelectedURL

Initialize the control and it's defined settings

Initialize

Acknowledgement and license

This control is free to use, but requires proper acknowledgment in any derived work or application. You must mention the original author and provide a link to this repository in your documentation or credits. A part of this control is based on Quill 2.0+ https://github.com/slab/quill/blob/main/LICENSE

Terms

Free to Use: You are allowed to use this control in your projects without charge. Acknowledgment Required: You must provide proper attribution in any work that uses this control. No Decryption or Modification: You are not allowed to decrypt, reverse-engineer, or modify the control in any way.

About

standalone class that offers a highly flexible rich text editing experience with HTML support, key binding, data parsing and much more.

Topics

Resources

Stars

19 stars

Watchers

5 watching

Forks

Releases

Packages

Contributors

Languages