← Back to team overview

mahara-contributors team mailing list archive

[Bug 1520028] Re: TinyMCE plugin to make links to a Mahara page

 

If possible, it would be nice to store these links in the database not
as plain HTML <A> tags, but as some kind of placeholder like
{pagelink:35}, and then use a filter to render that into the HTML. That
way we might avoid some of the "link rot" problems that can come with
hard links. It might also make certain actions during import and export
easier as well!

For that matter, taking a similar action for embedded images would also
be nice for the same reasons.

-- 
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/1520028

Title:
  TinyMCE plugin to make links to a Mahara page

Status in Mahara:
  Confirmed

Bug description:
  Currently if a user wants to put a link to one of their Mahara pages
  into a TinyMCE area, they have to manually look up the URL and insert
  it as a hard link. This is similar to the old process we used to have
  for inserting images. So, it calls for a similar solution.

  Similar to the TinyMCE image picker that we have now, it would be good
  if TinyMCE had a "page/collection" picker. The usage would be
  something like this:

  1. I'm typing in a text box with a TinyMCE editor
  2. I click on an icon for this plugin in TinyMCE
  3. It opens up a screen in which I can select one of my pages or collections
  4. It then inserts a link to that page/collection into the text

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


References