Edgewall Software
Modify

Ticket #2883 (closed defect: worksforme)

Opened 6 years ago

Last modified 4 years ago

embed objects

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

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

comment:1 Changed 6 years ago by mgood

  • Milestone 0.9.5 deleted
  • Resolution set to wontfix
  • Status changed from new to closed

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.

comment:2 Changed 6 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)]]

comment:3 Changed 6 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.

comment:4 Changed 4 years ago by anonymous

  • Resolution wontfix deleted
  • Status changed from closed to reopened

duplicate Ticket #6447

comment:5 Changed 4 years ago by anonymous

related Ticket #5718

comment:6 Changed 4 years ago by anonymous

related Ticket but closed as duplicate #6132

comment:7 Changed 4 years ago by sid

  • Resolution set to worksforme
  • Status changed from reopened to closed

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

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from jonas. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.