Back to packages
@bayonai/rich-text-editor
v0.1.2
React 19

Research Notes

A research-note document with concise observations, quotable claims, follow-up tasks, and code-like data extraction notes.

Knowledge and research capture

Research Notes

A research-note document with concise observations, quotable claims, follow-up tasks, and code-like data extraction notes.

Back to examples
Research notes
Knowledge capture
Plain-text export

Research notes example

This example shows the editor as a research capture surface: long-form observations, quotable hypotheses, task follow-ups, and machine-readable snippets in one document.

Add one more observation in the trailing empty block, then copy the plain text output for search indexing.98 words / 1 min read

Document contract

98

Words

1

Min read

8

Blocks

5

Types

Plain text output

Semantic primitives research note

Observation: meaning needs durable structure The editor works well for research because the author can write naturally while the app still receives a predictable block array. Notes can become search records, AI context, published summaries, or internal briefs without losing their shape. The best knowledge tools let humans write in context and let machines read the result without guesswork. Promising direction: preserve author intent as Markdown-compatible text inside typed blocks instead of flattening everything into raw HTML. Capture observation and supporting quote Extract searchable plain text for the knowledge index const searchable = richTextBlocksToPlainText(note.contentBlocks); const safeBlocks = sanitizeRichTextBlocks(note.contentBlocks);