camper/pkg
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
..
app Add management of legal texts 2023-12-22 02:23:18 +01:00
auth Add VAT and tourist tax information 2024-01-15 01:45:58 +01:00
booking Do not panic if there is no Redsys payment set up yet 2023-12-21 17:51:39 +01:00
campsite Added note about dogs to the campsite type page 2024-01-15 02:07:32 +01:00
carousel Use I18nInput instead of L10nInput to translate carousels 2024-01-12 19:33:44 +01:00
company Add VAT and tourist tax information 2024-01-15 01:45:58 +01:00
database Add additional information field to campsite types 2024-01-15 00:28:34 +01:00
form Replace L10nInput with I18nInput in service 2024-01-12 21:06:12 +01:00
hex Add cover media to campsite types 2023-09-10 03:04:18 +02:00
home Add user-defined order to campsite types, options, seasons and carousels 2023-12-20 19:52:14 +01:00
http Add the language switched to the public layout 2023-08-06 05:53:52 +02:00
legal Do not translate legal to the default language 2024-01-12 19:57:11 +01:00
locale Replace L10nInput with I18nInput in service 2024-01-12 21:06:12 +01:00
location Add golang template to initialize x-data for translation in admin 2024-01-12 19:51:12 +01:00
media Allow updating images in CKEditor-“powered” textarea 2024-01-16 01:26:35 +01:00
redsys Implement Redsys request signature in PostgreSQL 2023-10-27 01:52:04 +02:00
season Replace L10nInput with I18nInput in season 2024-01-12 20:26:45 +01:00
services Add position to services to be able to manually sort by admins 2024-01-13 01:15:24 +01:00
template Add VAT and tourist tax information 2024-01-15 01:45:58 +01:00
uuid Add cover media to campsite types 2023-09-10 03:04:18 +02:00