Tag

Slate.js

0 views collected around this technical thread.

Bilibili Tech
Bilibili Tech
Sep 16, 2022 · Frontend Development

Understanding contenteditable and Modern Rich Text Editors with Slate.js

The article explains how the HTML contenteditable attribute enables in‑place editing, why legacy execCommand‑based editors are inconsistent, and how modern frameworks such as Slate.js—built on React and Immutable.js—provide a structured, location‑based data model with Transform and Node APIs for reliable, portable rich‑text editing.

ContentEditableJavaScriptRich Text Editor
0 likes · 12 min read
Understanding contenteditable and Modern Rich Text Editors with Slate.js