Go to file
jordi fita mas 50bcbf012f Allow updating images in CKEditor-“powered” textarea
Had to create a custom build of CKEditor with the following plugins
added-in:

  * Autoformat
  * Block quote
  * Bold
  * General HTML Support
  * Heading
  * Image
  * Image caption
  * Image resize
  * Image style
  * Image toolbar
  * Image upload
  * Indent
  * Italic
  * Link
  * Link image
  * List
  * Media embed
  * Simple upload adapter
  * Source editing
  * Table
  * Table toolbar
  * Text transformation

The important bit is the “Simple uploader adapter”, that i modified to
upload the file as `media` instead of the default `upload` (i.e.,
modified ckeditor.js to replace "upload" with "media").

I also had to add the CSRF header somewhere in the HTML document for
JavaScript to be able to retrieve it and pass it to the uploader
adapter, or i would have to disable CSRF validation in that form, which
i did not like at all.
2024-01-16 01:26:35 +01:00
cmd/camper Manage all media uploads in a single place 2023-09-21 01:56:44 +02:00
debian Update debian service description 2023-12-21 01:52:20 +01:00
demo Add additional information field to campsite types 2024-01-15 00:28:34 +01:00
deploy Add additional information field to campsite types 2024-01-15 00:28:34 +01:00
pkg Allow updating images in CKEditor-“powered” textarea 2024-01-16 01:26:35 +01:00
po Added note about dogs to the campsite type page 2024-01-15 02:07:32 +01:00
revert Add additional information field to campsite types 2024-01-15 00:28:34 +01:00
test Add additional information field to campsite types 2024-01-15 00:28:34 +01:00
verify Add additional information field to campsite types 2024-01-15 00:28:34 +01:00
web Allow updating images in CKEditor-“powered” textarea 2024-01-16 01:26:35 +01:00
.gitignore Add the sample campsite types to the demo file 2023-09-10 03:57:46 +02:00
Makefile Add French’s Gettext file, with very little translations 2023-12-13 23:55:43 +01:00
go.mod Copy RecordArray from pgtype to database 2023-09-12 21:58:30 +02:00
go.sum Copy RecordArray from pgtype to database 2023-09-12 21:58:30 +02:00
sqitch.conf Add empty Sqitch configuration anq plan files 2023-07-20 23:43:23 +02:00
sqitch.plan Add additional information field to campsite types 2024-01-15 00:28:34 +01:00