the-djmaze / snappymail

Simple, modern & fast web-based email client
https://snappymail.eu
GNU Affero General Public License v3.0
1.01k stars 121 forks source link

CKEditor doesn't work #573

Closed Disco1 closed 1 year ago

Disco1 commented 1 year ago

Describe the bug Adding CKEditor to extensions doesn't do anything

To Reproduce Steps to reproduce the behavior:

  1. Add CKEditor to extensions
  2. Regular editor appears

Expected behavior A different editor appears

Screenshots If applicable, add screenshots to help explain your problem.

Please complete the following information:

Debug/logging information Place them here (few lines) or as attachments (many lines)

Additional context Add any other context about the problem here.

the-djmaze commented 1 year ago

Yes it's an old version 4.6.2 from Jan 12/2017 It was just copy/paste from RainLoop and it seems RainLoop never update it.

You can try and put the latest version in the plugins directory and hope that it works?

Disco1 commented 1 year ago

Where's the extension directory?

the-djmaze commented 1 year ago

It is in _data_/_default_

Bolli84 commented 1 year ago

Can someone explain how to update to the latest CKeditor?

the-djmaze commented 1 year ago

Version 5 is required but uses webpack.

All plugin code needs to be modified.

Removing CSP is currently the only option, but SnappyMail has no option for that.

the-djmaze commented 1 year ago

Because CKeditor 4 will never work, i've removed it. You may open a feature request if you require CKeditor 5