modern-editor VS lexical

Compare modern-editor vs lexical and see what are their differences.

modern-editor

[discontinued] A rich text editor for the modern web (by franciscop)

lexical

Lexical is an extensible text editor framework that provides excellent reliability, accessibility and performance. (by facebook)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
modern-editor lexical
1 56
14 17,375
- 1.9%
10.0 9.7
over 7 years ago 4 days ago
JavaScript TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

modern-editor

Posts with mentions or reviews of modern-editor. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-11.
  • Ask HN: Help me pick a front-end framework
    13 projects | news.ycombinator.com | 11 Sep 2022
    > "building a text-annotation based app"

    I'm going to assume that you are talking about a desktop-based webapp that is also responsive, and not a native app. I also believe you when you say that you do not know where you are getting into.

    I have 10+ years of experience doing front-end, with probably over a dozen React packages self-published in npm, and also tried making a rich text editor ~6 years back[1]. I actually recommend starting with no framework at all (please read on).

    Creating a rich text editor might be the hardest thing you can do in "normal" front-end (excluding some more advanced "frontend" fields like 3D or games). You can either manipulate raw cursors, which will be very tricky because I'm not even sure you have access to all the right APIs (specially on mobile), or you can attempt to use Contenteditable, which is a hell of its own[2].

    "All problems start with caret placing and multi browser support" [3]

    That said, I believe 90% of the complexity of your app will be here, around the actual interaction with the or <div contenteditable> that you will be using. For that, no framework will really help you, at all. So my recommendation is to first get that working, which will take weeks/months and hundreds or thousands of lines of code, and then worry about placing the little hovering boxes in their place (the "UI"), which is like 10 lines of JS/CSS[4].<p>[1] <a href="https://github.com/franciscop/modern-editor" rel="nofollow">https://github.com/franciscop/modern-editor</a><p>[2] <a href="https://answerly.io/blog/my-pain-developing-a-wysiwyg-editor-with-contenteditable/" rel="nofollow">https://answerly.io/blog/my-pain-developing-a-wysiwyg-editor...</a><p>[3] <a href="https://news.ycombinator.com/item?id=27938702" rel="nofollow">https://news.ycombinator.com/item?id=27938702</a><p>[4] <a href="https://stackoverflow.com/q/4495626/938236" rel="nofollow">https://stackoverflow.com/q/4495626/938236</a>

lexical

Posts with mentions or reviews of lexical. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-19.

What are some alternatives?

When comparing modern-editor and lexical you can also consider the following projects:

htmx - </> htmx - high power tools for HTML

tiptap - The headless rich text editor framework for web artisans.

Mithril.js - A JavaScript Framework for Building Brilliant Applications

slate - A completely customizable framework for building rich text editors. (Currently in beta.)

DefinitelyTyped - The repository for high quality TypeScript type definitions.

Draft.js - A React framework for building text editors.

structured-text

quill - Quill is a modern WYSIWYG editor built for compatibility and extensibility.

Monaco Editor - A browser based code editor

ProseMirror - The ProseMirror WYSIWYM editor

react-quill - A Quill component for React.

verbum - Verbum is a fully flexible text editor based on lexical framework.