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

Commits on Aug 8, 2024

  1. Add Tiptap and a first integration in NotesModal

    * 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 committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    6483124 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. Fix markdown content recovery

    yaaax committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    20632e8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    31ce9e5 View commit details
    Browse the repository at this point in the history
  3. Fix eslint imports

    yaaax committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    fee1c1a View commit details
    Browse the repository at this point in the history
  4. Fix eslint finally

    (and possibly importing JSON content?)
    yaaax committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    5dee6e3 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. Fix tiptap code blocks style

    So you can see it in dark mode
    yaaax committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    1250bda View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2024

  1. Fix eslint warning (type)

    Prop 'content' should define at least its type
    yaaax committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    ecd65d7 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2024

  1. Factorize code in AuditService

    Use uploadFileToStorage within saveExampleImage and saveNotesFile
    
    Fix dark background on notes thumbnails
    yaaax committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    729ff78 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

  1. Add display field for uploads

    (ATTACHMENT or EDITOR)
    yaaax committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    d9932b1 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2024

  1. Tiptap: handle images drag and drop

    Add a new extension: ImageUploadTiptapExtension
    yaaax committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    9f3a245 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

  1. Configuration menu
    Copy the full SHA
    ab88c6a View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2024

  1. Configuration menu
    Copy the full SHA
    c74754a View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2024

  1. Configuration menu
    Copy the full SHA
    81b2798 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2024

  1. Configuration menu
    Copy the full SHA
    7f5468e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a2d6592 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    52e1c6c View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2024

  1. Attachment: fix error 500

    Add a default value display=FileDisplay.ATTACHMENT in order to create a thumbnail by default
    yaaax committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    8189818 View commit details
    Browse the repository at this point in the history
  2. Tiptap: improve accessibility

    yaaax committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    0934488 View commit details
    Browse the repository at this point in the history
  3. Image upload: add error message

    FETCH_ERROR is used, for the moment, when dragging and dropping an external image and a CORS issue happens
    yaaax committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    c869c50 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2024

  1. Configuration menu
    Copy the full SHA
    9d32502 View commit details
    Browse the repository at this point in the history
  2. Tiptap: improve drag and drop + upload

    Handle multiple files, external URL, data URL
    yaaax committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    7981839 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2024

  1. Configuration menu
    Copy the full SHA
    8926b1b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b7cbb38 View commit details
    Browse the repository at this point in the history
  3. Tiptap: improve drop cursor style

    blue and bigger
    yaaax committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    c990515 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9b59f25 View commit details
    Browse the repository at this point in the history