codex-team / codex-team/editor.js

Pasting from Google Docs Strips Basic Text Formatting (Bold, Italic, Underline)

Open
#2,909 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
31.9k
Forks
2.2k
Avg merge
1d 1h
Merged PRs (30d)
1

Description

When pasting text from Google Docs into an Editor.js editor, basic text formatting like bold, italic, and underline is not preserved. The text is pasted as plain text, losing all formatting.

**To Reproduce**

1. Create a document in Google Docs.
2. Apply bold, italic, and underline formatting to some text.
3. Copy the formatted text from Google Docs.
4. Paste the text into an Editor.js editor.

**Expected behavior**

The pasted text should retain the bold, italic, and underline formatting.

**Screenshots**

Image

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.