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

Améliorer la saisie avec un éditeur WYSIWYG #796

Open
wants to merge 25 commits into
base: main
Choose a base branch
from

Conversation

yaaax
Copy link
Collaborator

@yaaax yaaax commented Aug 9, 2024

  • Should handle existing markdown content
  • The editor is configured with extensions:
    • all what's in StarterKit
    • code block lowlight
    • highlight
    • link
    • task
    • typography (with french double quotes)
  • Some styles have been added to fit DSFR styling

Still work in progress, but a nice start!

To do:

  • image uploading and placement inside editor
  • menu buttons
  • accessibility tests and improvements

@yaaax yaaax linked an issue Aug 9, 2024 that may be closed by this pull request
45 tasks
@hissalht hissalht temporarily deployed to ara-687-ameliorer-la-sa-ejgfhq August 9, 2024 07:38 Inactive
@hissalht hissalht had a problem deploying to ara-687-ameliorer-la-sa-ejgfhq August 9, 2024 09:15 Failure
@hissalht hissalht temporarily deployed to ara-687-ameliorer-la-sa-ejgfhq August 9, 2024 09:20 Inactive
@yaaax yaaax changed the title Add Tiptap and a first integration in NotesModal Améliorer la saisoe des erreurs Aug 9, 2024
@yaaax yaaax changed the title Améliorer la saisoe des erreurs Améliorer la saisie avec un éditeur WYSIWYG Aug 9, 2024
@yaaax yaaax force-pushed the 687-améliorer-la-saisie-erreurs-et-recommandations branch from d5003ef to 2ba70c2 Compare August 16, 2024 17:48
@hissalht hissalht temporarily deployed to ara-687-ameliorer-la-sa-ejgfhq August 16, 2024 17:48 Inactive
@yaaax yaaax force-pushed the 687-améliorer-la-saisie-erreurs-et-recommandations branch from 2ba70c2 to 31ce9e5 Compare August 16, 2024 18:00
@hissalht hissalht temporarily deployed to ara-687-ameliorer-la-sa-ejgfhq August 16, 2024 18:00 Inactive
@hissalht hissalht temporarily deployed to ara-687-ameliorer-la-sa-ejgfhq August 17, 2024 18:24 Inactive
@hissalht hissalht temporarily deployed to ara-687-ameliorer-la-sa-ejgfhq August 17, 2024 20:35 Inactive
@yaaax yaaax force-pushed the 687-améliorer-la-saisie-erreurs-et-recommandations branch from 6672e96 to b9a24e0 Compare August 17, 2024 20:44
@hissalht hissalht temporarily deployed to ara-687-ameliorer-la-sa-ejgfhq August 17, 2024 20:44 Inactive
@yaaax yaaax force-pushed the 687-améliorer-la-saisie-erreurs-et-recommandations branch from b9a24e0 to 1250bda Compare August 19, 2024 09:59
@hissalht hissalht temporarily deployed to ara-687-ameliorer-la-sa-ejgfhq August 19, 2024 09:59 Inactive
@hissalht hissalht temporarily deployed to ara-687-ameliorer-la-sa-aargwr September 4, 2024 08:41 Inactive
@hissalht hissalht temporarily deployed to ara-687-ameliorer-la-sa-aargwr September 4, 2024 09:15 Inactive
@yaaax yaaax self-assigned this Sep 5, 2024
@hissalht hissalht temporarily deployed to ara-687-ameliorer-la-sa-aargwr September 13, 2024 14:00 Inactive
@yaaax yaaax force-pushed the 687-améliorer-la-saisie-erreurs-et-recommandations branch from 3251d48 to 9f3a245 Compare September 13, 2024 16:41
@hissalht hissalht temporarily deployed to ara-687-ameliorer-la-sa-aargwr September 13, 2024 16:42 Inactive
@hissalht hissalht temporarily deployed to ara-687-ameliorer-la-sa-itzbxb October 2, 2024 09:45 Inactive
@yaaax yaaax force-pushed the 687-améliorer-la-saisie-erreurs-et-recommandations branch from 75c5aeb to 7981839 Compare October 24, 2024 16:02
@hissalht hissalht temporarily deployed to ara-687-ameliorer-la-sa-abtxfg October 29, 2024 11:08 Inactive
* Should handle existing markdown content
* The editor is configured with extensions:
  * all what's in StarterKit
  * code block lowlight
  * highlight
  * link
  * task
  * typography (with french double quotes)
* Some styles have been added to fit DSFR styling

Still work in progress, but a nice start!

To do:
* image uploading and placement inside editor
* menu buttons
* accessibility tests and improvements
(and possibly importing JSON content?)
So you can see it in dark mode
Prop 'content' should define at least its type
Use uploadFileToStorage within saveExampleImage and saveNotesFile

Fix dark background on notes thumbnails
(ATTACHMENT or EDITOR)
Add a new extension: ImageUploadTiptapExtension
Add a default value display=FileDisplay.ATTACHMENT in order to create a thumbnail by default
FETCH_ERROR is used, for the moment, when dragging and dropping an external image and a CORS issue happens
Handle multiple files, external URL, data URL
@yaaax yaaax force-pushed the 687-améliorer-la-saisie-erreurs-et-recommandations branch from 9b59f25 to d8b0c62 Compare November 15, 2024 16:44
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.

Améliorer la saisie erreurs et recommandations
2 participants