codex-team / codex-team/editor.js

Some great improvements

Open
#795 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
31.9k
Forks
2.2k
Avg merge
1d 1h
Merged PRs (30d)
1

Description

I love this editor a lot. I love it some much that I can't express. I try to understand this editor code and do some improvement. It was very much difficult for me to understand all these code. So, I'm opening this issue to give some suggestions based on my experience which will make this editor great.

# Suggestion
- 1.Send number value corresponding to each type of data i.e paragraph, header, list, image etc.

This idea is inspired from *Medium*. They send number value instead of paragraph , list header etc. This will decrease data sharing between client and server. If we parse `paragrah` to paragraph tag or if we do this some arbitrary number, it's same.

If you will make this feature as an option then that will be also great. So, when we want data as text or number, we can decide and get that.

- 2.Sharing partial data when required
In medium I also noticed one feature that they share partial data( let's understand this by an example).

Example: we wrote an article we saved that, after sometime we again went to the article and we added one line to the end of the article then medium will only send one line of data with the line number. I am not saying you do exactly same but we can give both the data. Developer will decide which data they want to send.

- It also doesn't have great support for libraries and framework ( React, vue and angular)

**If this feature will be in core of editor then it will be really great.**

These are just suggestions, which can make it one of the greatest editor in the world. I'm also js developer I'm ready to work with all these features. I can't work alone because I don't know how this project work and I will need lots of time to understand the complete editor.

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.