Jakobus Schürz
6e6903e073
add upload for video/*, audio/* and application/* via dropzone
...
Upload videos, audios and documents (all mimetype application/*) via
Drag&Drop and Copy&Paste in new postings and comments as attachments.
The same as images before with placeholder on insert-position.
You can write text while upload is done.
2025-01-14 11:17:48 +01:00
Jakobus Schürz
c47323e358
do not change cursor position while replacing upload-placeholder
...
fixes #14695
Save caret position just before replacing the upload-placeholder.
replace upload-placeholder
Set caret position to the position in textarea as before replacing action.
Setting caret position considers the position before or after
placeholder and therefore the textlength of server-response to find the
right place.
2025-01-14 05:49:48 +01:00
xundeenergie
5c3aba176d
Update view/js/dropzone-factory.js
...
accept suggestion
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2025-01-11 18:22:16 +01:00
xundeenergie
da9f9d8964
Update view/js/dropzone-factory.js
...
accept suggestion
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2025-01-11 18:22:00 +01:00
xundeenergie
61e0a2a0f4
Update view/js/dropzone-factory.js
...
accept suggestion
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2025-01-11 18:21:33 +01:00
Jakobus Schürz
29cb0211db
add placeholder for uploading images
2025-01-10 18:53:43 +01:00
Tobias Diekershoff
5af3b9dedd
REUSE more work on bin and view directories
2024-08-25 08:45:08 +02:00
Raroun
3f2481f424
Update view/js/dropzone-factory.js
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-05-05 20:40:59 +02:00
Raroun
789ae23ce5
Update view/js/dropzone-factory.js
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-05-05 20:22:37 +02:00
Raroun
ad127f4739
Fixes #13082
...
removed $.trim because it removes \n from return value of media/photo/upload
2023-05-05 19:30:26 +02:00
Hypolite Petovan
4db29565de
[frio] Add Dropzone dictionary strings to l10n
2023-04-09 08:24:12 -04:00
Jakobus Schürz
cf63cbde72
remove removelink (it is not useful at the moment)
2023-03-19 19:14:10 +01:00
Jakobus Schürz
5040bd9a1a
change response-handling (code-review)
2023-03-19 18:52:46 +01:00
Jakobus Schürz
57a7a3d6d8
change responsehandling to be ready for PR #12892
2023-03-19 18:52:46 +01:00
Jakobus Schürz
8a3361dfbe
remove upload-url parameter
2023-03-19 18:52:46 +01:00
Jakobus Schürz
6436d2cd8a
changes in case of code-review
2023-03-19 18:52:46 +01:00
Jakobus Schürz
fba33d3afc
add options allowedFiles and more
2023-03-19 18:52:46 +01:00
Jakobus Schürz
920dcca263
render max_imagesize in header.tpl
...
so it is reachable general from the whole website, and the dropzone-factory can use
it also to create dropzones from modal.js
2023-03-19 18:52:46 +01:00
Jakobus Schürz
16f065e260
changes in case of codereview
2023-03-19 18:52:45 +01:00
Jakobus Schürz
d39781023e
create factory
2023-03-19 18:52:45 +01:00