Tagged articles
Rich Text
10 articles · Page 1 of 1
This article walks through extending WangEditor V5 with custom plugins to reproduce the rich, multi‑style layouts found in WeChat public‑account articles, covering the analysis of required HTML/CSS patterns, defining new Slate‑based elements, registering menus, and rendering the styles within the editor.
Custom ExtensionRich TextSlate.js
0 likes · 14 min read

This article explains how a self‑calibration system embeds markers in iOS rich‑text content, enabling a single pass to identify mentions, topics, and links, and shows how NSMutableAttributedString and YYKit’s custom attribute keys are used to store and parse these special elements efficiently.
AttributedStringRich TextSelf-Calibration
0 likes · 7 min read

The article explains HarmonyOS’s Text component—showing basic usage, method‑chained styling, and mixed Span/ImageSpan content—then details an emoji workflow using a JSON mapping and regex to split text into model arrays, and demonstrates RichEditor with a custom keyboard for inserting and managing emoji spans.
Emoji IntegrationHarmonyOSRich Text
0 likes · 11 min read

This article explains what XSS attacks are, describes the three main XSS types, and provides practical JavaScript functions for sanitizing and restoring rich‑text content to protect web applications from high‑risk cross‑site scripting vulnerabilities.
JavaScriptRich TextSanitization
0 likes · 7 min read

Lexical is a highly extensible, framework‑agnostic JavaScript text‑editing library created by Facebook, offering a lightweight core, plugin architecture, custom nodes, themes, and state management for building rich‑text, collaborative, and native‑like editors across web applications.
Custom NodesJavaScriptLexical
0 likes · 18 min read

The article presents a JSON‑driven solution for rendering static text templates in video editing, detailing asset integration, cross‑platform layout using CoreText and FreeType, asynchronous drawing, memory and performance optimizations, and guidelines for consistent rich‑text rendering across iOS, Android, and web.
Performance OptimizationRich Textasynchronous drawing
0 likes · 15 min read


政采云技术Jul 26, 2022 · Frontend Development
This article introduces the concept of rich text in the frontend, explains two primary input methods (iframe with designMode and contenteditable elements), details the Selection API for handling text ranges, demonstrates toolbar commands using execCommand, and provides complete demo code for building a simple rich‑text editor.
HTMLRich Textcontenteditable
0 likes · 15 min read

The Vivo Internet Frontend Team explains why modern products need a unified, cross‑platform rich‑text editor and presents a JSON‑based data model and WebView‑embedded editor architecture that enable consistent rendering, seamless native‑web communication, media handling, keyboard control, and error‑retry mechanisms across web, mobile, and desktop environments.
AndroidRich Textcross-platform
0 likes · 13 min read

The project designs a scalable Xianyu article publishing tool that uses a compressed JSON schema based on DingTalk’s we‑editor to store and render extensible, high‑fidelity content, separating text and images, adding plugin‑based cards, and optimizing performance to halve first‑screen load time while supporting future interactive features.
Rich Textcontent managementfrontend
0 likes · 11 min read

This article explains how to render rich, styled text in an Android OCS player by evaluating open‑source libraries, selecting HtmlSpanner, and detailing HTML tag support, CSS parsing, multi‑font handling, custom font loading, common pitfalls, and future improvement ideas.
AndroidCSS ParsingFont Subsetting
0 likes · 13 min read
