stable

Clone or download

Read-only

Text fields allows dropping of images

Given a tracker has many ~~faces~~ text fields, When users submit or update an artifact, Then they can drop images in every text fields and follow-up comment (as soon as they are in html format) And when the form is submitted Then all images are added as attachment. This works also in modal v1 (ArtifactLink ยป create new artifact). Part of story #12964: drag'n drop images in tracker text areas Change-Id: I105e51ee828f576be73ecc66242f3296fc239fb6

Modified Files

Name
A plugins/tracker/include/Tracker/Artifact/RichTextareaProvider.php +90 โˆ’0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/View/Edit.class.php +13 โˆ’36 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Text.class.php +43 โˆ’38 Go to diff View file
A plugins/tracker/templates/artifact/rich-textarea.mustache +12 โˆ’0 Go to diff View file
A src/www/scripts/tuleap/ckeditor/consistentUploadedFilesBeforeSubmitChecker.js +63 โˆ’0 Go to diff View file
M src/www/scripts/tuleap/ckeditor/getUploadImageOptions.js +2 โˆ’20 Go to diff View file