Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.5.5, 2.8, 3.5
-
MOODLE_25_STABLE, MOODLE_28_STABLE, MOODLE_35_STABLE
-
MOODLE_36_STABLE
-
MDL-45170-master -
Description
If you copy/cut text and images from one wysiwyg editor window to another, it appears to work for a short period of time but then subsequently returns a broken image.
In the first wysiwyg window, you see an image file uri with draftfile.php. When you paste this into the other wysiwyg, you see the same uri. Upon saving them, the wysiwyg you copied from converts to a working pluginfile.php uri and the one you pasted to becomes a brokenfile.php. This happens in any wysiwyg editors. It behaves the same in ATTO and TinyMCE. It is not limited to an activity or module.
- Add a label in to course.
- In the wysiwyg editor, type some text and upload a new image to be show in that label.
- Copy the text and image from the wysiwyg editor.
- Save the label and return to course.
- Create a new label in the course.
- Paste into the wysiwyg.
- Save and return to course.
Returns a broken file, even though the wysiwyg showed the image correctly.
Ideally, this would add the image properly.
Attachments
Issue Links
- is duplicated by
-
MDL-39712 Cut and paste images from description to content of a page resource should work
-
- Closed
-
-
MDL-40309 Unable to copy text+image(s) from one Page to another Page in edit mode
-
- Closed
-
-
MDL-55536 copying/pasting image in editor changes link from draftfile.php to brokenfile.php
-
- Closed
-
- will help resolve
-
MDL-26782 Wiki 2 draft file handling problem
-
- Closed
-