slab / quill

Quill is a modern WYSIWYG editor built for compatibility and extensibility
https://quilljs.com
BSD 3-Clause "New" or "Revised" License
43.97k stars 3.41k forks source link

Can I use quill without nodejs on backend but use it with backend on python? #2235

Closed toddbarry closed 6 years ago

toddbarry commented 6 years ago

I see the simpliest way for collaborative real-time editing like that: js library exists in clients browser that catch Operation Transformation instructions from server and apply it in textarea or another block. Backend just listening websocket channel and wait this OT instructions from client for transmit this OT instructions to all clients that editing document at this moment. i.e. when client edit the document all changes in document converts to OT instructions and being sent to server, and then are transmitted from server to all connected clients. On clients side then this OT instructions are interprets and applying with js library.

I want to use quill as js library on client side. In docs written that quill uses nodejs on backend. But my backend is written on python with aiohttp. Can I use quill without nodejs on backend? And if i can, how to configurate it?

Thank you

Joeao commented 6 years ago

Unless I've completely missed something, Quill is just a rich text editor, it doesn't do anything with a backend. Sure you can send data to a server, but that's outside of Quill. So to answer your question, yes you can use it without NodeJS and configuration can be found in the documentation.

By the way I recommend you submit any questions to Stack Overflow as the purpose of Github Issues is to discuss problems and potential enhancements with the project.

toddbarry commented 6 years ago

Ok, thank u for answer. I had small problems with understanding of Quill at the beginning.