Tag

Rich Text

1 views collected around this technical thread.

Sohu Tech Products
Sohu Tech Products
Mar 26, 2025 · Mobile Development

Text Component and Rich Text Handling in HarmonyOS: Styling, Emoji Integration, and Custom Keyboard

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 IntegrationFrontend DevelopmentHarmonyOS
0 likes · 11 min read
Text Component and Rich Text Handling in HarmonyOS: Styling, Emoji Integration, and Custom Keyboard
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 1, 2025 · Information Security

Preventing XSS Attacks in Rich Text Editors: Concepts, Types, and Implementation

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
Preventing XSS Attacks in Rich Text Editors: Concepts, Types, and Implementation
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 16, 2024 · Frontend Development

An Overview of Lexical: Facebook’s Extensible Web Text‑Editor Framework

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
An Overview of Lexical: Facebook’s Extensible Web Text‑Editor Framework
Baidu Geek Talk
Baidu Geek Talk
Mar 22, 2023 · Mobile Development

Technical Solution for Static Text Template Rendering in Video Editing

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 TextVideo Editing
0 likes · 15 min read
Technical Solution for Static Text Template Rendering in Video Editing
政采云技术
政采云技术
Jul 26, 2022 · Frontend Development

Frontend Rich Text Basics and Implementation

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.

ContentEditableRich TextexecCommand
0 likes · 15 min read
Frontend Rich Text Basics and Implementation
vivo Internet Technology
vivo Internet Technology
Aug 11, 2021 · Mobile Development

Cross-Platform Rich Text and Editor Solutions

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.

AndroidEditorMobile
0 likes · 13 min read
Cross-Platform Rich Text and Editor Solutions
Xianyu Technology
Xianyu Technology
Apr 29, 2021 · Frontend Development

Design and Implementation of a Scalable Article Publishing Tool for Xianyu Community

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.

PerformanceRich Textcontent management
0 likes · 11 min read
Design and Implementation of a Scalable Article Publishing Tool for Xianyu Community