rich-markdown-editor
styled-components
![SurveyJS Logo](https://cdn-b.libhunt.com/images/promo-campaign-images/000/000/030/main.png?1674177924)
rich-markdown-editor | styled-components | |
---|---|---|
11 | 223 | |
2,570 | 40,103 | |
- | 0.2% | |
9.2 | 8.4 | |
over 2 years ago | 3 days ago | |
TypeScript | TypeScript | |
BSD 3-clause "New" or "Revised" License | MIT License |
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.
rich-markdown-editor
-
Switching Rich Text Editors, Part 1: Picking Tiptap
Great article and fantastic choice!
This is a topic I have been very interested lately. I had been lucky to start using since Slate 0.61.x, but I cannot say anything good about it. It has a major problem with managing large documents [0]. I tried to introduce multiple improvements of performance, but it is very ungrateful project β change in one place affects many things at the same time. I am shocked, how many projects are still using it. For example, open-sourced Notabase [1]. My 4+ weeks with Slate.js completely killed motivation, and I was only thinking to put a whole project to litter.
In the result of being unhappy, I switched to Draft.js. It was 2020, and I was eager to try it out, so I did. Sadly, in 2020 there was also the last release [2]. Initially, I didn't like how it works. I preferred the Slate data model. Also, the draft.js project felt not maintained at that time (by looking at commits activity, issues and pull-requests). It is written in the Flow which I detest. I spent few weeks to try "merge" the draft.js and sentry with doing a "rewrite" to TypeScript. Obviously, quickly I realized myself it is stupid idea.
Then, I took a look at ReMirror. Yet another problem that was struggling with maintenance and active contributors. It is based on ProseMirror, so I thought it is better choice than previous. ReMirror is overly complex for simple things. It was hard to find any help - neither by googling examples nor via ReMirror's Discord (it was dead silence there).
After that, I have found information about the TipTap. Back then, there was only provided support for Vue.js. Fortunately, it was that time, when they have promised the v2 with React support. I skipped it to wait for the new version.
Maybe, a raw ProseMirror with React? Yep, tried it, but I wasn't very happy of the result. I knew the TipTap v2 will be released and there were already existing projects that were using ProseMirror behind the scene, for example: Outline's rich-markdown-editor[3]. It has tons of built-in components that I had with Slate. I was extremely happy about it, because "everything what I needed" was there β typical bold, italic, code, code block, quote, multi-level list and even table editing. Really awesome piece of code! However, authors decided they are opting for TipTap and they have archived repository on GitHub, which means officially the project is dead.
I had no time to test Quill.js. It looked interesting, but it has noticeable poor development pace, and it looks a dead project with many bugs.
Currently, I am using the TipTap v2 and I can't say how happy I am now. I guess I will stick with it for longer. However, I know the journey to find the best Rich Text Editor has not ended. There are more alternatives, for example Stylo [4] that I've found in this week.
[0] Try to copy the contents of https://www.slatejs.org/examples/huge-document and paste it back. In a result, my Firefox on Macbook M1 hangs.
[1]: https://notabase.io/
[2]: https://github.com/facebook/draft-js/releases/tag/v0.11.7
[3]: https://github.com/outline/rich-markdown-editor
[4]: https://stylojs.com/
- I moved this blog from Medium
-
Launch HN: Fable (YC W21) β Collaborate on product specs, sync to issue trackers
Thanks! We forked this version of ProseMirror built by the Outline team which was the closest to what we wanted for our product
https://github.com/outline/rich-markdown-editor
-
Appflowy β open-source Notion Alternative
Outline's rich-markdown-editor (https://github.com/outline/rich-markdown-editor) package is pretty nice. I have used it to make some custom MD editor/CMS experiment.
- Can I run a CMS with GatsbyJs that is only hosted locally but serves content from GitHub for instance?
-
I built a new platform, using NextJS, for creating a blog & newsletter (and earning money from your readers). I focused on speed, simplicity, privacy, and beautiful design. I'd love to get some early feedback!
Good eye! This is indeed based on ProseMirror. I didn't create it myself though, I'm using this: https://github.com/outline/rich-markdown-editor
- Ask HN: Open-source notion.so like block editor?
-
I made a simple Markdown editor and publisher that stores files on web3.storage!
Ah yes, I found the library I was using for the editor (rich-markdown-editor) to insert a lot of \ newlines when they weren't needed. I'll take a look at this sometime!
-
Notea - Self-hosted note-taking app stored on S3 | AKA a self-hosted Notion alternative
The outline editor is open source https://github.com/outline/rich-markdown-editor
-
What is your tech stack?
It runs a mult-tenant SaaS app with very low memory/cpu requirements (https://getoutline.com/)
styled-components
-
Approaches to Styling React Components, Best Use Cases
CSS-in-JS is a styling technique wherein CSS is composed using JavaScript instead of defined in external files. This method allows CSS to be scoped locally to components rather than globally, reducing the probability of style conflicts. Utilizing JavaScript also enables dynamic styling easily aligned with the component's state or props. Libraries like Styled Components and Emotion are popular choices in the React ecosystem for adopting this method.
-
Growth Hacking Killed GitHub Stars
In 2023, I had a chat with Max Stoiber, CEO of Stellate, on a podcast to learn about his early success on GitHub. His first open-source project, react-boilerplate/react-boilerplate, gained a whopping 10k stars in just one weekend after appearing on the homepage of Hacker News. This success led Max to drop out of university and create several other popular open-source projects, including styled-components. This library accelerates the process of building styles in React components.
- Creating Nx Workspace with Eslint, Prettier and Husky Configuration
-
The Secret Weapon of Top Developers: 7 React JS Libraries You Can't Afford to Ignore
Embracing the styled-components library allows developers to write actual CSS code to style their components. It utilizes tagged template literals to style components, enabling a seamless integration of styles within the component's JavaScript file. This approach eliminates the mapping between components and styles, thus enhancing developer productivity and component reusability.
-
The 20 most used React libraries
styled-components: Allows for maintainable styling with CSS-in-JS. Learn more
- Iniciando um backoffice rapidamente com AdminJS
-
Styling React 2023 edition
Over the past few years, I've worked with React apps utilising various CSS-in-JS libraries, starting with styled-components, transitioning through emotion, Theme UI, and finally Stitches. I've also integrated MUI, Mantine, and Chakra in numerous client projects.
-
The Ultimate Tech Stack for Building a Full-Stack MVP and Iterating Quickly
There are several alternatives to MUI. shadcn/ui is a modern alternative that is very popular. Ant Design is also a great alternative. Charkra UI can also be used as a UI Framework. Some people suggest just using styled components. Some use Tailwind CSS. Yet, for both styled components and Tailwind CSS, one still writes a lot of CSS. This might not provide the best developer experience compared to using a UI Framework, especially if we aim to avoid designing all the pages on the website.
-
React Ecosystem inΒ 2024
Website: Styled Components
-
Building an entire fullstack project with Firebase 10 and React (Vite)
The project is build using several ready made components available within, Mantine. Itβs a fully featured React components library. However some places still use some custom CSS-in-JS so we used some good olβ styled components.
What are some alternatives?
flutter-quill - Rich text editor for Flutter
styled-jsx - Full CSS support for JSX without compromises
Monaco Editor - A browser based code editor
chakra-ui - β‘οΈ Simple, Modular & Accessible UI Components for your React Applications
AppFlowy - AppFlowy is an open-source alternative to Notion. You are in charge of your data and customizations. Built with Flutter and Rust.
emotion - π©βπ€ CSS-in-JS library designed for high performance style composition
tiptap - The headless editor framework for web artisans. [Moved to: https://github.com/ueberdosis/tiptap]
styletron - :zap: Toolkit for component-oriented styling
Joplin - Joplin - the secure note taking and to-do app with synchronisation capabilities for Windows, macOS, Linux, Android and iOS.
JSS - JSS is an authoring tool for CSS which uses JavaScript as a host language.
Outline - The fastest knowledge base for growing teams. Beautiful, realtime collaborative, feature packed, and markdown compatible.
PostCSS - Transforming styles with JS plugins