decaporg / decap-cms

A Git-based CMS for Static Site Generators
https://decapcms.org
MIT License
17.84k stars 3.04k forks source link

Update the SlateJS Editor #5795

Closed taineriley1 closed 1 year ago

taineriley1 commented 3 years ago

Is your feature request related to a problem? Please describe.

The SlateJS rich text editor currently used in Netlify CMS is at v0.47. This version was released in May 2019, with the current version at v0.61. Although there are several breaking changes involved in updating this, Netlify CMS is now over 2 years behind the current version and it would be great to remove this technical debt.

Describe the solution you'd like

Migrate the Slate rich text editor in Netlify CMS to the latest version of SlateJS (greater than v0.61).

Describe alternatives you've considered

An alternative rich text editor may be a viable option because upgrading SlateJS is essentially a full rewrite anyway. E.g. QuillJS (https://quilljs.com/)

Additional context

erezrokah commented 3 years ago

Related to https://github.com/netlify/netlify-cms/issues/5652

bytrangle commented 3 years ago

Do we have a singular place for discussing upgrading Slate.js?

erezrokah commented 3 years ago

Hi @bytrangle, I link related issues in https://github.com/netlify/netlify-cms/issues/5652, but I think we should use this issue (#5795) for the discussion. WDYT?

bytrangle commented 3 years ago

Actually, I like Taine Riley's list of things to consider before upgrading, especially "Determine whether it is worthwhile updating Slate to the latest version".

I recently fixed a bug with Slate the new version and none of things I learned with old Slate was applicable to new Slate. The latter is a new paradigm and I'm not even sure if upgrading Slate or using an alternative will cause the least pain.

I'm fine with either issue, but it'd be great if there is a way to keep his list in the merged discussion.

erezrokah commented 3 years ago

I'm fine with either issue, but it'd be great if there is a way to keep his list in the merged discussion.

💯

Taine's issue is not on the CMS repo so it gets less visibility from the CMS community.

I'm good with copying whatever we think is relevant

freesteph commented 1 year ago

This would fix https://github.com/netlify/netlify-cms/issues/5306

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

luksak commented 1 year ago

AFAIK slate hasn't been updated so far.

luksak commented 1 year ago

As an alternative there is now also https://editor.stackoverflow.design

martinjagodic commented 1 year ago

Solved in Decap 3!