vincent-peugnet / antilope

Antilope private tracker for IRL sharing, allowing members to share anything inside communities.
https://antilope-alpha.club1.fr/
GNU Affero General Public License v3.0
9 stars 2 forks source link

dedicated rich text description editing tool #50

Closed vincent-peugnet closed 3 years ago

vincent-peugnet commented 3 years ago

instead of editing sharable description as a part of /edit, add a specific interface with a generous editor.

Choosing a rich markdown editor

What I need:

  1. display markdown synthax
  2. have toolbar for text style
  3. have image import tool !?
  4. have an easy url tool

In fact, Github editor is almost perfect, I love the image drag n drop function, but it lack of url help wich is cool for beginners I think.

Selection

For example Toast UI editor is based on Jquery, and I use jquery query for bootstrap menu and others. Is it a good strategy to use only one main library like this more than many differents @n-peugnet ?

n-peugnet commented 3 years ago

As jQuery is only used for the drop down menu and as it is really not optimal and could be done by hand easily, I think it would be better not to rely on jQuery at all, to be able to ditch it someday.

I also think GitHub's one is really great. But maybe putting a big preview button right next to the publish one would make it better for newbies.

Lastly, the image import should be done in another issue IMO.

n-peugnet commented 3 years ago

Maybe this could be it https://github.com/refactory-id/bootstrap-markdown

Here is a demo: http://embed.plnkr.co/atyuBnVNktl8YSfdfPJT/preview

And docs: https://refactory-id.github.io/bootstrap-markdown/

vincent-peugnet commented 3 years ago

Hey @n-peugnet , are you up on doing this ?

What should I do to prepare it ?