Edgewall Software

Ticket #2883 (closed defect: worksforme)

Opened 3 years ago

Last modified 10 months ago

embed objects

Reported by: kosir.milan@… Owned by: jonas
Priority: normal Milestone:
Component: wiki system Version: devel
Severity: normal Keywords: embed
Cc:

Description

This is more question or suggestion: It would be really nice if you could embed other objects into wiki page, not just images (e.g. activeX objects - like flash, java applets, etc). Or, is this maybe possible and I don't know?

Attachments

Change History

Changed 3 years ago by mgood

  • status changed from new to closed
  • resolution set to wontfix
  • milestone 0.9.5 deleted

You can include any HTML in a wiki page as described in WikiProcessors.

However the items like you mentioned are specifically stripped from the HTML since they would be an extreme security risk to allow users to include them in a Wiki page.

Changed 3 years ago by cboos

Note that if you really need to have embedded objects for your Trac site, you can write a macro that will insert theobject you'd like to have, and only let the user specify some parameters to that object, from the macro.

e.g.

[[AcrobatViewer(some.pdf)]]

Changed 3 years ago by jdmeek@…

A solution that I use is to upload the attachment to the page and use a link in the wiki entry regarding the attachment pointing to the link location from the generated download page.

It doesn't 'embed' due to the aforementioned security issues but it does provide a better work flow than having to click through a download page.

If I ever find the time I plan to work out a patch to do this directly and just bypass the intermediary (and unnecessary) download page. I'll post it and submit it to the dev team when/if I get a chance.

Changed 10 months ago by anonymous

  • status changed from closed to reopened
  • resolution wontfix deleted

duplicate Ticket #6447

Changed 10 months ago by anonymous

related Ticket #5718

Changed 10 months ago by anonymous

related Ticket but closed as duplicate #6132

Changed 10 months ago by sid

  • status changed from reopened to closed
  • resolution set to worksforme

See TracIni#wiki-section for the render_unsafe_content setting. This will allow you to embed any object in a page.

Add/Change #2883 (embed objects)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.