← Back to team overview

mahara-contributors team mailing list archive

[Bug 1445346] [NEW] TinyMCE link editor does not change link text

 

*** This bug is a duplicate of bug 1384491 ***
    https://bugs.launchpad.net/bugs/1384491

Public bug reported:

If you create a link in TinyMCE, then use the link button to try to
change the link, you can change the link's URL but you can't change the
text of the link via the link editor's "Text to display" field. (See
screenshot)

To replicate:

1. Put a Text block onto a page.
2. In the Text block's text area, write "Mahara".
3. Select "Mahara" and use the link editor to turn it into a link to "https://mahara.org";
4. Click "Ok" on the link editor.
5. Still in TinyMCE, now move the cursor into the "Mahara" link's text, and press the link editor button again.
6. The link editor pops up and displays Url "https://mahara.org"; and the "Text to display" field reads "Mahara"
7. Change the "Text to display" field to say "Testing"
8. Click "Ok" on the link editor

Expected result: The link text should now read "Testing" and be a link to https://mahara.org
Actual result: The link text still reads "Mahara" and is a link to https://mahara.org

Some experimenting indicates that the "Url" field works fine. And the
"Text to display" field works fine if you're selecting some non-linked
text to add a link to it. But if you're trying to alter an existing
link, it doesn't work.

** Affects: mahara
     Importance: Low
         Status: Confirmed

** Affects: mahara/1.10
     Importance: Low
         Status: Confirmed

** Affects: mahara/15.04
     Importance: Low
         Status: Confirmed

** Affects: mahara/15.10
     Importance: Low
         Status: Confirmed


** Tags: tinymce

** Also affects: mahara/15.10
   Importance: Undecided
       Status: New

** Also affects: mahara/1.10
   Importance: Undecided
       Status: New

** Also affects: mahara/15.04
   Importance: Low
       Status: Confirmed

** Changed in: mahara/1.10
    Milestone: None => 15.04.1

** Changed in: mahara/1.10
    Milestone: 15.04.1 => 1.10.3

** Changed in: mahara/15.04
    Milestone: 1.10.3 => 15.04.1

** Changed in: mahara/15.10
    Milestone: None => 15.10.0

** Changed in: mahara/1.10
       Status: New => Confirmed

** Changed in: mahara/15.10
       Status: New => Confirmed

** Changed in: mahara/15.10
   Importance: Undecided => Low

** Changed in: mahara/1.10
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1445346

Title:
  TinyMCE link editor does not change link text

Status in Mahara ePortfolio:
  Confirmed
Status in Mahara 1.10 series:
  Confirmed
Status in Mahara 15.04 series:
  Confirmed
Status in Mahara 15.10 series:
  Confirmed

Bug description:
  If you create a link in TinyMCE, then use the link button to try to
  change the link, you can change the link's URL but you can't change
  the text of the link via the link editor's "Text to display" field.
  (See screenshot)

  To replicate:

  1. Put a Text block onto a page.
  2. In the Text block's text area, write "Mahara".
  3. Select "Mahara" and use the link editor to turn it into a link to "https://mahara.org";
  4. Click "Ok" on the link editor.
  5. Still in TinyMCE, now move the cursor into the "Mahara" link's text, and press the link editor button again.
  6. The link editor pops up and displays Url "https://mahara.org"; and the "Text to display" field reads "Mahara"
  7. Change the "Text to display" field to say "Testing"
  8. Click "Ok" on the link editor

  Expected result: The link text should now read "Testing" and be a link to https://mahara.org
  Actual result: The link text still reads "Mahara" and is a link to https://mahara.org

  Some experimenting indicates that the "Url" field works fine. And the
  "Text to display" field works fine if you're selecting some non-linked
  text to add a link to it. But if you're trying to alter an existing
  link, it doesn't work.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1445346/+subscriptions


Follow ups

References