Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added PDF embed #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Added PDF embed #5

wants to merge 1 commit into from

Conversation

q2apro
Copy link

@q2apro q2apro commented Apr 16, 2014

@NoahY: Feature added to embed PDFs.

Details:

  • Get blob-URLs from the post,
  • check their filetype,
  • if pdf, append them in the end of the post as PDF-embed.

Requires:

  • qa-blob.php edit to serve PDF-Blobs inline instead of attachment (probably solved with q2a v1.7)

Greetings,
Kai

Signed-off-by: q2apro.com info@q2apro.com

Signed-off-by: q2apro.com <info@q2apro.com>
@@ -96,16 +98,16 @@ function admin_form(&$qa_content)
);

$fields[] = array(
'label' => 'Image width',
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just some indent fixes

@q2apro q2apro mentioned this pull request Apr 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant