New Froala Editor v5.6.0 is here – Learn More
240+
API Options
40+
Plugins
100+
API Events
5000+
Github Stars
220+
API Methods
90,000+
Weekly Downloads
40+
Plugins
5000+
Github Stars
240+
API Option
100+
API Events
220+
API Methods
Integrate With:
See Froala in Action
Experience Froala's collaborative demo to see how it works and how it lets users edit, suggest, comment, and track revision history in real-time.
Real-time collaboration allows team members to work together simultaneously, enhancing productivity and reducing the time spent on back-and-forth communication. It fosters immediate feedback, which helps in quickly resolving issues and improving the quality of the content. Moreover, this dynamic interaction encourages creativity and innovation, as ideas can be shared and developed instantaneously.
Play Video
Simplify Files Management in Your Node.js Server
Simplify file handling in your Node.js server with Froala's Node.js SDK. Its powerful tools and intuitive design streamline your workflow, saving you time and frustration.
Experience Seamless Integration
Integrating Froala Node.js SDK into your Node.js application is a breeze. With just a few lines of code, you can have the SDK installed and ready to use in your code. Store, remove, and server-side validate your images, videos, and files uploaded through Froala.
1
Install the Froala Editor SDK Node package
npm
install
wysiwyg-editor-node-sdk
2
Import the SDK in your app
const FroalaEditor =
require('wysiwyg-editor-node-sdk')
// Pull out just the collaboration pieces you need.
const Collaborative = FroalaEditor.Collaborative; // the WebSocket relay
const CollabPersistence = FroalaEditor.CollabPersistence; // saves comments + suggestions
const VersionControl = FroalaEditor.VersionControl; // saves version snapshots
const AsyncSave = FroalaEditor.AsyncSave; // saves the document itself
Froala Node.js SDK Features that Empower You
Real-Time Collaboration
Sync edits instantly across users with WebSocket-based live collaboration.
Version History
Save, restore, and compare named or auto-saved document snapshots.
Track-Change Suggestions
Let collaborators propose edits with full accept/reject control and threaded replies.
Role-Based Access
Control editing, suggesting, and viewing permissions per user with a single config option.
Inline Comments
Anchor comments to specific text, resolve threads, and mention collaborators by name.
Offline-First Mode
Run comments, suggestions, and version control without a live WebSocket connection.
Real-Time Collaboration
Sync edits instantly across users with WebSocket-based live collaboration.
Inline Comments
Anchor comments to specific text, resolve threads, and mention collaborators by name.
Role-Based Access
Control editing, suggesting, and viewing permissions per user with a single config option.
Track-Change Suggestions
Let collaborators propose edits with full accept/reject control and threaded replies.
Version History
Save, restore, and compare named or auto-saved document snapshots.
Offline-First Mode
Run comments, suggestions, and version control without a live WebSocket connection.
How the Collaboration Backend Works
The collaboration backend is split into four modules, exported from the package root. Use only what your integration requires — three of the four share a single Express app and SQLite file.
Module | Responsibility | Persistence |
|---|---|---|
Collaborative | WebSocket relay. Broadcasts client messages to peers in the same docId. Protocol-agnostic — the server never parses message content. | None (in-memory for the life of the session) |
CollabPersistence | REST endpoints for comments and track-change suggestions. | SQLite |
VersionControl | REST endpoints for named/auto-saved document snapshots. | SQLite |
AsyncSave | REST endpoints for the latest document content, used in offline/async mode. | SQLite |
Frustrated with your current Node.js editor? Upgrade to Froala for a better experience.
Frequently Asked Questions
Can I integrate the Froala Editor with my Node.js application that uses a framework like Express.js?
Absolutely! The Froala Editor can be integrated with Node.js applications using frameworks like Express.js.You’ll need to set up routes to handle editor content and include the Froala Editor’s static files in your project.
Is there a way to secure the file upload process in Froala Editor when using Node.js?
Security is crucial for file uploads. You can secure the upload process by implementing authentication checks before allowing uploads, and by validating the files on the server-side using the SDK’s validation methods.
How do I update the Froala Editor content programmatically?
You can update the editor’s content programmatically by using the editor instance’s methods, such as html.set to set new content or html.get to retrieve the current content.
How uploading files works in Froala?
Uploading files in Froala is a simple process, but you need to configure it correctly. Check out this guide before you start.
Can I try the Froala editor before I buy it?
Of course! Take advantage of our free trial by using the public trial key, TRIAL-LICENSE-KEY-FOR-FROALA-NOT-FOR-PRODUCTION-USE, before buying. No form needed.
Your 30-day free trial includes all the features you’ll find in the licensed versions for all practical purposes. However, you will notice a “Powered by Froala” badge and a one-line trial notice under the editor until the purchase of a Froala license plan.
Is real-time sync required, or can collaboration work asynchronously?
Real-time sync is optional. Leaving collabConfig.realTime.syncUrl configuration unset switches the plugin to asynchronous mode, where AsyncSave, CollabPersistence, and VersionControl handle content, comments, and versions entirely through REST, no persistent WebSocket connection required.
What database does the collaboration backend use, and do I need to set it up myself?
SQLite, via better-sqlite3. It’s a standard dependency installed automatically with the SDK, and each module (CollabPersistence, VersionControl, AsyncSave) initializes its own tables on first use. All three can share a single .db file.
Does the collaboration backend work with frameworks other than Express, like Koa or Sails?
The WebSocket relay is framework-agnostic. attachToServer() takes any Node http.Server, regardless of what’s wrapping it. The REST modules are not: CollabPersistence.attachRoutes(), VersionControl.attachRoutes(), and AsyncSave.attachRoutes() all expect an Express app instance and register routes directly on it. If you’re on a non-Express framework, you’ll need an Express instance (or a compatible router) for the persistence layer, even if the framework itself handles everything else.
One Editor Fits All Node.js Projects
Content Management Systems (CMS)
Seamlessly integrate file management capabilities into your CMS to handle images, documents, and media files.
Learning Management Systems (LMS)
Improve management of lesson images and PDF attachments, and optimize file organization for your online educational platform.
Email Marketing
Systems
Manage and serve media files efficiently, ensuring sending optimized emails.
Customer Relationship Management (CRM)
Upgrade your CRM with our advanced rich-text WYSIWYG editor, full of innovative features to improve user experience.
SaaS and
Internal Applications
Enable users to upload, share, and collaborate on files within your web application.
Document Management System
Simplify the process of handling and organizing documents in your Node.js server.
Using Froala WYSIWYG Editor
in your Node.js projects
Let Froala power your editing needs
Take your Node.js application to the next level with Froala's powerful WYSIWYG editor.
Unlimited users and developers no matter which plan you choose. For any questions, contact us or checkout our Help Center