Opened 9 years ago

Closed 8 years ago

#11694 closed defect (duplicate)

dijit.editor.plugin.createLink destroys image and replaces it with text

Reported by: raspi Owned by:
Priority: high Milestone: future
Component: Editor Version: 1.5
Keywords: editor image text Cc:
Blocked By: Blocking:

Description

Select image and press "create link" button in editor. Give URL and press OK. Image is destroyed and replaced with description text given in previous dialog box.

Attachments (1)

11694.patch (972 bytes) - added by Jared Jurkiewicz 9 years ago.
Potential 'fix' but unsure of ramifications (as well as the fact this is a documented behavior).

Download all attachments as: .zip

Change History (10)

comment:1 Changed 9 years ago by Jared Jurkiewicz

Resolution: invalid
Status: newclosed

You can't create a link around an image. This is a known and documented limitation of the plugin.

http://docs.dojocampus.org/dijit/_editor/plugins/LinkDialog http://docs.dojocampus.org/dijit/_editor/plugins/LinkDialog#limitations

Changed 9 years ago by Jared Jurkiewicz

Attachment: 11694.patch added

Potential 'fix' but unsure of ramifications (as well as the fact this is a documented behavior).

comment:2 Changed 9 years ago by Jared Jurkiewicz

Milestone: 1.5.11.6
Resolution: invalid
Status: closedreopened

comment:3 Changed 9 years ago by Jared Jurkiewicz

Seems generally 'safe' so adding it or 1.6 (to get test time).

comment:4 Changed 9 years ago by Jared Jurkiewicz

Resolution: fixed
Status: reopenedclosed

(In [22858]) Try to preserve HTML. fixes #11694

comment:5 Changed 9 years ago by Jared Jurkiewicz

(In [22859]) Reverting, this breaks IE. refs #11694

comment:6 Changed 9 years ago by Jared Jurkiewicz

Resolution: fixed
Status: closedreopened

comment:7 Changed 9 years ago by Jared Jurkiewicz

The 'fix' for this is more complicated than what worked on FF. IE just breaks. Need to ponder on this.

comment:8 Changed 9 years ago by Jared Jurkiewicz

Milestone: 1.6future

comment:9 Changed 8 years ago by Jared Jurkiewicz

Resolution: duplicate
Status: reopenedclosed

Dup of #10220

Note: See TracTickets for help on using tickets.