-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Introduce headless editor #438
Comments
Also this is useful to render saved editor schema in readonly mode. It allows to store editor schema in DB instead of plain html and have dynamic rendering (converting schema -> html) at front-end to display article to user. |
This is a use case we've been also considering. To make it possible, we decided to split every feature into two level:
You can clearly see this division in the Bold feature:
So, not only this architecture allows running (in Node.js) an editor with some features to load/convert/retrieve the data, but it also allows operating on this data. Since model and view (virtual DOM, not real DOM) are browser-independent, unless rendering to the DOM is not enabled, you can do everything you want. |
If it's going to be a big feature/epic then I have suggestion for code name for that one: Mike. |
I've tried to build an embeddable / headless editor. It works quite well so far, but there are some issues:
|
Wow, thanks for the feedback :)
Let's discuss it in #435.
I didn't expect that anyone will ever want to split the code into even smaller pieces :). I thought that we're already going crazy dividing features into two parts (engine + UI). But your point of view makes a lot of sense. We need to decide whether we more want to divide features into browser-independent + browser-dependent pieces or headless + head. I reported a more specific ticket about it in #488. Feel free to comment there. |
There's a discussion regarding implementing a headless editor in #984. We've explained there some architectural concepts like how's the current feature split working and what interfaces make for an editor. |
Hello friends. I've tried to use ckeditor5 as headless editor, fully removing all the ui and so far my experience is alright, but i needed some re-touches.
Overal i'm decently happy with the result, but it obviously could use some love. I think CKEditor5 is the best framework out there and i'm using it with a lot of custom plugins and external ui. I just wish there was a cleaner (more complete) way to achieve it. |
There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue. |
Still important
…On Sun, Oct 22, 2023 at 1:13 PM CKEditor Bot ***@***.***> wrote:
There has been no activity on this issue for the past year. We've marked
it as stale and will close it in 30 days. We understand it may still be
relevant, so if you're interested in the solution, leave a comment or
reaction under this issue.
—
Reply to this email directly, view it on GitHub
<#438 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAAVFDGD3A5TCW4BAH42MDYASTPHAVCNFSM4DKHLWD2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZXGM4TSNRYHA2Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue. |
We've closed your issue due to inactivity. We understand that the issue may still be relevant. If so, feel free to open a new one (and link this issue to it). |
See @fredck's initial ticket: ckeditor/ckeditor5-design#86.
The goal of a headless editor would be to make it as simple as possible to create an editor with your own UI.
This means that we need:
EDIT: See #984 for explanation how headless editor can be implemented.
The text was updated successfully, but these errors were encountered: