TinyMCE plugin to make links to a Mahara page
Bug #1520028 reported by
Aaron Wells
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Wishlist
|
Cecilia Vela Gurovic |
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
Changed in mahara: | |
assignee: | nobody → Cecilia Vela Gurovic (ceciliavg) |
status: | Confirmed → In Progress |
Changed in mahara: | |
status: | In Progress → Fix Committed |
tags: | added: nominatedfeature |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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.