portabletext VS slate

Compare portabletext vs slate and see what are their differences.

portabletext

Portable Text is a JSON based rich text specification for modern content editing platforms. (by portabletext)

slate

A completely customizable framework for building rich text editors. (Currently in beta.) (by ianstormtaylor)
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
portabletext slate
4 26
1,213 29,011
1.0% -
5.2 8.2
about 1 month ago 8 days ago
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.

portabletext

Posts with mentions or reviews of portabletext. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-30.
  • Anchor Links From Sanity in Gatsby
    3 projects | dev.to | 30 Aug 2022
    Sanity is a headless content based CMS. You write in a rich text editor, which creates portable text. So unlike markdown you wont have to convert header # items but you will have to serialize the portable text into something that Gatsby can understand. I won't dive too deeply into how you create a site using sanity.io there are some great guides for that using gatsby-source-sanity.
  • Portable Text
    1 project | news.ycombinator.com | 19 Oct 2021
  • On the limits of MDX
    9 projects | dev.to | 1 Apr 2021
    I get it. I get the tangibility of flat files. I get that it feels good to take your coding skills into your prose. But it's not the best way to work with content. Text editors with familiar affordances that produce typed rich text that can be queried and serialized into whatever you need are better. Where developers can define the data structures they need, and editors get easy-to-use tools to get their work done. Like what we're building at Sanity with Portable Text.
  • Top 5 Rich-Text React Components
    5 projects | dev.to | 3 Mar 2021
    Portable text is a JSON-based open specification with a renewed approach to handling and presenting rich text in modern applications. Portable text is created to solve challenges in creating rich content and its presentation in various differing interfaces.

slate

Posts with mentions or reviews of slate. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-03.
  • 5 Not-So-Typical React Libraries for an Outstanding Project
    9 projects | dev.to | 3 Aug 2023
  • Which Rich Text Editor to use ?
    2 projects | /r/reactjs | 6 Jul 2023
    - it creates a layout based on rows and cells, so it support multi-column layout - each cell can contain a different "cell-plugin", - richt-text editor based on https://github.com/ianstormtaylor/slate is built in and comes with its own plugin system. It can do weight, italic, block-types, alignment and lists and can be extended as you want (even with elements storing data and interactive components) - you can create custom cell plugins based on a schema (or custom control ui) and a component that should be rendered - it stores an object tree that represent it, not html. It therefore can contain any react component, which is great if you want to allow your editors to add interactive components or components that you already built as part of the app - i carefully optimized for SSR and bundle size, so no editor ui is rendered nor loaded. editor ui is only loaded on the client if you disable readOnly. (lazy loading) - it mainly tested with nextjs, since i used it for content-heavy pages. - its not yet tested with react-server components, but it should actually work in read-only mode
  • What is your goto WYSIWYG Editor?
    7 projects | /r/webdev | 6 Mar 2023
    Finally there's Slate and Lexical which are super powerful in terms of customizability and extensibility. They're great options for when the editing experience plays a major role in the product.
  • Looking for the best React Editor library
    6 projects | dev.to | 28 Jan 2023
    Slate, as per its documentation, is a completely customizable framework for building rich text editors. Therefore, it doesn't offer a feature-rich text editor but instead provides tools to build one. Let's create a component called Slate and see what the Slate editor looks like.
  • Slate | Editor in 10min with Next.js and TS ✍️
    2 projects | dev.to | 17 Oct 2022
    Link to Repo
  • Is there a good alternative to Draft-js rich text editor?
    4 projects | /r/reactjs | 14 Oct 2022
    Word of warning about Slate: I love the API and the design goals, but it appears to suffer from some fundamental issues. We were experiencing issues similar to this one and a team of multiple 10+ year experienced frontend devs couildn't figure out what was going on. I had to completely rip out a feature we had built with Slate and had to reimplement a new version from scratch with Lexical. So far we have no issues other than those inherent to rich text editing.
  • Lexical – a web text editor framework that powers Facebook
    8 projects | news.ycombinator.com | 20 Jun 2022
    We're trying to choose between Lexical and Slate at work. Do you have any examples that would be similar to this? https://github.com/ianstormtaylor/slate/blob/main/site/examp...
  • A good rich text editor for reactjs?
    4 projects | /r/reactjs | 23 May 2022
    If you are going to customise a ton of functionalities and/or implement new functionality I suggest using SlateJS. If not, have a look at Sun editor.
  • Ace, CodeMirror, and Monaco: A Comparison of the Code Editors You Use in Browser
    12 projects | news.ycombinator.com | 14 Mar 2022
    You definitely need to give Slate (https://github.com/ianstormtaylor/slate) a try - the best editor framework I've used.
  • Best WYSIWYG editor for Vue that supports structured content?
    7 projects | /r/vuejs | 7 Mar 2022
    Slate: Looks very promising, but it's for React. (Someone has floated the idea of making it framework-agnostic, but the maintainers haven't committed to that goal yet.)

What are some alternatives?

When comparing portabletext and slate you can also consider the following projects:

mdx - Markdown for the component era

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

jodit-react - React wrapper for Jodit

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

react-quill - A Quill component for React.

ProseMirror - The ProseMirror WYSIWYM editor

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

mdx-deck - ♠️ React MDX-based presentation decks

lexical - Lexical is an extensible text editor framework that provides excellent reliability, accessibility and performance.

gatsby-source-sanity - Gatsby source plugin for building websites using Sanity.io as a backend.

Editor.js - A block-style editor with clean JSON output