RTEdit has been updated to version 2.0.
This major release represents several hundred hours of development to reach this milestone. RTEdit now includes every module maintained by the Quill 2.0 community and significantly modifies both Quill and its modules at the JavaScript layer to ensure an optimal user experience and a seamless workflow on macOS and Windows desktops.
To get started, simply add the RTEdit class (960kb) to your project (no plugins or dependencies required) and customize it to your needs within the IDE, in the control’s opening event, or both. For a GitHub download link, scroll to the bottom of the page. RTEdit 2.0 is compatible with Windows and Mac desktop projects written in XOJO versions 2024 or newer.
What’s New
- Brand new demo project, including 5 new demos, tutorials, and comprehensive documentation.
- Support for custom labels and tooltips in table modals and overlays.
- Ability to define a specific color for italic text via the
ColorTextItalic
property. - Improved initialization performance, dynamically adjusting based on the modules and formats included in each build.
- Arrow keys can now be used to navigate between columns and rows when a table is selected.
- Modules can now be included or excluded via the IDE interface (e.g., Variables, Tables, DragAndDrop, KeyboardBinding).
AllowMentions
renamed toAllowVariables
for consistency.- Added
VariablesAt()
property to define variables using the@
character. getDocumentMentions
renamed togetDocumentVariables
for consistency.ColorMention
group renamed toColorVariables
.ColorVariablesPopup
renamed toColorVariablesText
for naming consistency.- Added multiple
ColorVariables...
properties to provide full control over the appearance and layout of the variables popup window, including scrollbar styling. - New color properties added for customizing the appearance of code blocks (
ColorCodeBlock
,ColorCodeBlockBackground
). ColorQuote
renamed toColorBlockQuote
for consistency.- All primary color settings can now be edited directly from the IDE.
- All five color schemes have been refined, with layout adjustments for variable popups.
- Updated the default
PlaceholderText
value. - New
BlockQuoteIndentation
property introduced to control default indentation for block quotes. - Redesigned sandbox demo interface for improved usability, including runtime color editing and tooltips for every UI element.
- Fixed a non-fatal error that occurred when
AutoFormatLinks
was set toFalse
. - Fixed layout rendering issues in code blocks.
- Updated the default color scheme for code blocks.
- Added
AllowVideo
property (default:False
) to support embedded video insertion. This is also configurable via the IDE. - Improved performance and consistency of
ImportDocumentToJSON
/ExportDocumentToJSON
. A dedicated demo project has been created for these features. - RTEdit now includes several additional fonts by default.
- The currently selected font and heading styles are now correctly reflected in the toolbar when using the Snow theme.
- Fixed a bug where Xojo incorrectly inserted a JavaScript newline character into code blocks during JSON conversion.
- New
InsertVariable(VariableType, Value As String)
method added for programmatic variable insertion. - Introduced
ColorToolbarDisabled
property to visually indicate disabled toolbar icons (e.g., when editing table cells, where not all styles are allowed). - Quickly create and export your own ColorScheme in real-time, using the sandbox demo.
- Numerous bug fixes and quality-of-life improvements throughout.
This major release represents several hundred hours of development to reach this milestone. RTEdit now includes every module actively maintained by the Quill 2.0 community and significantly modifies both Quill and its modules at the JavaScript layer to ensure an optimal user experience and a seamless workflow on macOS and Windows desktops.
A big thanks to all the users who provided feedback, feature-requests and bug reports.
*RTEdit 2.0 comes with 6 demos
RTEdit 2.0 is the perfect ChatGPT companion.
Use the control to process a response stream for AI backends, such as ChatGPT, handling styling of content in real-time.
RTEdit 2.0 comes with extended support for tables and customization
Support for variables has been greatly extended and improved. Now you can add / edit / remove variables in real-time, while editing the document
You can now edit variables for documents in the demo project, in real-time, during document editing
Use the Import/Export demo to play with the powerful feature to load / export a document and all it’s settings / tags / variables / attributes / content.
The IDE interface for RTEdit has been extended and categorized properly, allowing for easy access modification and full customization without a single line of code
Download RTEdit 2.0 from GitHub here.
- Note : RTEdit 2.0 is based on Quill 2.0
- Note : For demo purposes, the chatbot demo included, uses Garry Pettet’s AIKit to connect to ChatGPT, his lovely kit can be found here : AIKit - My open source Xojo module for interfacing with LLMs - #13 by GarryPettet