Skip to content
项目

software-mansion/react-native-enriched-html

在 GitHub 查看

关于

适用于 React Native 的基于 HTML 的富文本解决方案

网站与应用

这些数字如何统计

实测星标增长

24小时
0
7天
-1
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文
react-native-enriched-html by Software Mansion

Ad Ad Ad

react-native-enriched-html

react-native-enriched-html is a powerful React Native Rich Text solution:

  • ⚡ Fully native input and display components (Supports New Architecture only)
  • 💻 HTML-based parsing with live, synchronous text styling
  • 🎨 Fully customizable styles for seamless UI integration
  • 🌐 Solid mobile and Web support

EnrichedTextInput, the rich text input component is an uncontrolled input. This means that it doesn't use any state or props to store its value, but instead directly interacts with the underlying platform-specific components. Thanks to this, the component is really performant and simple to use while offering complex and advanced features no other solution has.

EnrichedText is the display component designed to work seamlessly with EnrichedTextInput. It flawlessly renders any HTML generated by the input, while a shared, customizable styling API guarantees perfect 1:1 visual consistency between editing and displaying.

react-native-enriched-html-demo

Installation

Check out the detailed installation instructions.

Compatibility

At the moment, the library offers stable support for iOS, Android and Web.

The full list of compatible React Native versions is available here.

Documentation

To find more about react-native-enriched-html including usage guides, API references, known limitations or our contributing guide, visit the official documentation.

Examples

The source code for the example mobile and web apps is under the apps directory. You can also see the live preview of the library's capabilities by visiting the official documentation filled with interactive examples.

License

react-native-enriched-html library is licensed under The MIT License.

Community Discord

Join the Software Mansion Community Discord to chat about react-native-enriched-html or other Software Mansion libraries.

Created by Software Mansion

Since 2012 Software Mansion is a software agency with experience in building web and mobile apps. We are Core React Native Contributors and experts in dealing with all kinds of React Native issues. We can help you build your next dream product – Hire us.


Built by Software Mansion and sponsored by Filament.

Software Mansion Logo     Filament Logo

探索相关项目

加载中…