stable

Clone or download

Read-only

Refactoring: uncouple image url finder from ckeditor

Part of story #13453: finish drag'n drop images in tracker text areas Refactoring to enable reuse of this in the artifact modal without being coupled to ckeditor instance. How to test: No functional changes. - When you drop or paste an image in a ckeditor and then remove the <img> tag (after upload), the image is still filtered and not added to the file field. - When there is no file field and you try to paste an image, the editor still shows a warning. Change-Id: Ie4fc54b56307e7f390d59493f58dd0eccc44bdb1

Modified Files

Name
M src/www/scripts/tuleap/ckeditor/app.spec.js +1 −1 Go to diff View file
D src/www/scripts/tuleap/ckeditor/ckeditor-adapter.js +0 −44 Go to diff View file
D src/www/scripts/tuleap/ckeditor/ckeditor-adapter.spec.js +0 −106 Go to diff View file
M src/www/scripts/tuleap/ckeditor/consistent-uploaded-files-before-submit-checker.js +2 −4 Go to diff View file
M src/www/scripts/tuleap/ckeditor/consistent-uploaded-files-before-submit-checker.spec.js +13 −14 Go to diff View file
M src/www/scripts/tuleap/ckeditor/file-upload-handler-factory.js +9 −7 Go to diff View file
M src/www/scripts/tuleap/ckeditor/file-upload-handler-factory.spec.js +14 −23 Go to diff View file
M src/www/scripts/tuleap/ckeditor/get-upload-image-options.js +18 −5 Go to diff View file
M src/www/scripts/tuleap/ckeditor/get-upload-image-options.spec.js +39 −19 Go to diff View file
A src/www/scripts/tuleap/ckeditor/image-urls-finder.js +36 −0 Go to diff View file
A src/www/scripts/tuleap/ckeditor/image-urls-finder.spec.js +69 −0 Go to diff View file
M src/www/scripts/tuleap/ckeditor/po/fr.po +2 −2 Go to diff View file