Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/add md editor #351

Merged
merged 41 commits into from Mar 28, 2024
Merged

Conversation

nicolaskempf57
Copy link
Contributor

@nicolaskempf57 nicolaskempf57 commented Feb 6, 2024

@nicolaskempf57 nicolaskempf57 marked this pull request as ready for review February 12, 2024 15:57
Copy link
Contributor

@ThibaudDauce ThibaudDauce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job! Doesn't seem easy to integrate with these libs.

Copy link
Contributor

@maudetes maudetes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh wow! Indeed, it's quite a lot of work to integrate with the libs.
I haven't dived in all the files, but it seems to work nicely already, thank you! 🚀

As a suggestion, it may be nice, later on, to add a raw mode to edit markdown without the rendering (for geeky users).

…mageModal/ImageModal.vue

Co-authored-by: maudetes <maudet.estelle@gmail.com>
@nicolaskempf57
Copy link
Contributor Author

As a suggestion, it may be nice, later on, to add a raw mode to edit markdown without the rendering (for geeky users).

I agree, we could add a "plain text" option with a simple textarea

@nicolaskempf57 nicolaskempf57 merged commit 1cc30c4 into datagouv:master Mar 28, 2024
7 checks passed
@nicolaskempf57 nicolaskempf57 deleted the feat/add-md-editor branch March 28, 2024 08:24
Jorek57 pushed a commit to Jorek57/udata-front that referenced this pull request Apr 2, 2024
* feat: ✨ add markdown editor component

* feat(markdown-editor): ✨ handle table in markdown editor

* feat: ✨ add edit tooltip

* feat(markdown-editor): ✨ handle link edit

* feat(markdown-editor): ✨ add image modal

---------

Co-authored-by: maudetes <maudet.estelle@gmail.com>
@streino
Copy link

streino commented Apr 4, 2024

@nicolaskempf57 ça serait possible de l'avoir dans @etalab/data.gouv.fr-components ?

@nicolaskempf57
Copy link
Contributor Author

@nicolaskempf57 ça serait possible de l'avoir dans @etalab/data.gouv.fr-components ?

@streino Complètement ! Il faut qu'on termine datagouv/data.gouv.fr#1265 avant pour avoir des releases propres du package NPM avec changelog notamment et qu'on refasse un viewer markdown (fait initialement dans #337) avec le même parser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parcours de publication : Nouvel éditeur Markdown
5 participants