codex-team / codex-team/editor.js

show texts with line breaks, inside a block

Open
#1,032 7 comments 0 reactions 0 assignees View on GitHub
should be tested
Dominant language
TypeScript
Stars
31.9k
Forks
2.2k
Avg merge
1d 1h
Merged PRs (30d)
1

Description

Hey,

In editorjs, if it detects line breaks, it will break the whole text into several different blocks.
Here is the question:
If one hopes to load several paragraphs in a block, with line breaks remaining, how can we do that?
(When writing, we can do that by press shift+enter. But, after initiating block data, how do we show paragraphs with line breaks inside a single block?)

current:
![image](https://user-images.githubusercontent.com/10926522/73939774-20bb8800-4925-11ea-90fc-56718e6d84a5.png)
hope it could be:
![image](https://user-images.githubusercontent.com/10926522/73939788-26b16900-4925-11ea-880b-afeabb7ac770.png)

Thanks!

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.