Skip to content

Enable the attachment button in the editor #18

Closed

Description

@gnacho

The backend now implements the Notes API v1.4 attachment endpoints (#6), but the attachment button in the editor toolbar is still disabled.

Wire it up:

  • Open a file picker from the toolbar button
  • Upload with POST /index.php/apps/notes/api/v1.4/attachment/{noteId} (multipart file)
  • Insert the returned path into the note content as a markdown image or link
  • Handle the 413 size cap and upload errors visibly

Follow-up of #6, which covered the backend only.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions