4 ms·
The examples shown on the site are code editing. Which puts it in direct competition with the more established Monaco from Microsoft [1]. Competition is welcom
by petilon 5y ago
The examples shown on the site are code editing. Which puts it in direct competition with the more established Monaco from Microsoft [1].
Competition is welcome, but the description sounds like this is more of a library than a finished product (which Monaco isn't), and if so, some examples showing how to take advantage of that would have been helpful.
[1] https://microsoft.github.io/monaco-editor/ https://microsoft.github.io/monaco-editor/
- trueadm 5y agoBy the examples, do you mean the fact we are using Codesandbox embed to show code examples of the editor itself? Lexical definitely has the foundational requirements capable of building a CodeMirror or Monaco editor, but that wasn't our initial target with this library. That doesn't mean that we don't expect the community to push it that way in the future, we fully expect that. Let's see how things go, competition is healthy! :)
- petilon 5y agoMy mistake... I thought the code editor was implemented using Lexical. The real demo is here: https://lexical-playground.vercel.app/ https://lexical-playground.vercel.app/ (Edit) I think you should put this demo on the front page and the code sample on some other page. I was expecting to see the demo on the home page.
- mkl 5y agoHaving the live editor examples on the home page be live examples of a different editor (of a different kind) is more than a little confusing. I understood Lexical to be a code editor until I came here and saw your comment. The main page even describes Lexical as a "text editor", a term used for plain text like code. I suggest embedding the playground up the top of the main page and describing Lexical with a different term.
- astroalex 5y agoTotally agree. I assumed I was seeing an example of the editor!