How are custom textarea elements designed?

This page summarizes the projects mentioned and recommended in the original post on /r/webdev

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
  • EditorJS-LaTeX

    LaTeX block support for EditorJS

  • I found this library: https://editorjs.io. Looks pretty solid with +15K stars on github and this plugin for LaTeX support: https://github.com/mdgaziur/EditorJS-LaTeX (this one has only 5 stars but you can see how the plugin works and it looks very easy to integrate with LaTeX, it uses a LaTeX library)

  • Editor.js

    A block-style editor with clean JSON output

  • I found this library: https://editorjs.io. Looks pretty solid with +15K stars on github and this plugin for LaTeX support: https://github.com/mdgaziur/EditorJS-LaTeX (this one has only 5 stars but you can see how the plugin works and it looks very easy to integrate with LaTeX, it uses a LaTeX library)

  • 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 logo
  • Draft.js

    Discontinued A React framework for building text editors.

  • A good place to start with is the library docs — for draftjs that is https://draftjs.org/docs/getting-started and https://draftjs.org/docs/advanced-topics-entities. Every editor library is different and draftjs has a quite unique approach with its own concepts (Entities, Decorators, ContentBlock, Modifiers, ContentState, etc). Once you have a grasp of the basic concepts you can take a look at a basic demo like the one on his website https://github.com/facebook/draft-js/tree/10ca1ad44843e970c4314f85a8f37d26f842ebf9/website

  • draft-js-katex-plugin

    A Katex plugin for DraftJS.

  • The point here is that the library will help you to build the editor part for your widget: keybindings, selection, decorators, styling, etc. So all you have to do is to build a VERY basic editor, taking the draftjs most basic examples as reference, and then start implementing your own buttons that will end up calling your functions which will make use of the Draft Modifier API to insert/change text/blocks. You can use the same plugin from the example: https://github.com/letranloc/draft-js-katex-plugin (easiest way) or use the plugin as reference to build your own LaTeX implementation on draftjs.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Quill – Your powerful rich text editor

    7 projects | news.ycombinator.com | 19 Apr 2024
  • Quill: Open-source, powerful rich text editor in JavaScript

    1 project | news.ycombinator.com | 25 Mar 2024
  • Introducing EmailBuilder.js - a free and open source block-based email template builder

    2 projects | dev.to | 5 Mar 2024
  • Show HN: I made an app that consolidated 18 apps (doc, sheet, form, site, chat)

    3 projects | news.ycombinator.com | 7 Jan 2024
  • WYSIWYG editor for a new Rails project

    6 projects | /r/rails | 10 Dec 2023