- Publicity: Public Only All
markdown-image-procs.tcl
Stage clipboard images and attach them when their XoWiki page is saved.
- Location:
- packages/xowiki/tcl/markdown-image-procs.tcl
Procedures in this file
- xowiki::markdown_image::attach (private)
- xowiki::markdown_image::directory (private)
- xowiki::markdown_image::discard_attached_draft (private)
- xowiki::markdown_image::draft_path (private)
- xowiki::markdown_image::drafts (private)
- xowiki::markdown_image::expire_drafts (private)
- xowiki::markdown_image::mime_type (private)
Detailed information
xowiki::markdown_image::attach (private)
xowiki::markdown_image::attach page drafts
Save each staged image as an attachment owned by this page.
- Parameters:
- page (required)
- drafts (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
xowiki::markdown_image::directory (private)
xowiki::markdown_image::directory
Return the temporary directory for pasted XoWiki images.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
xowiki::markdown_image::discard_attached_draft (private)
xowiki::markdown_image::discard_attached_draft object_id image_id path
Drop a staging file after the page and attachment commit.
- Parameters:
- object_id (required)
- image_id (required)
- path (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
xowiki::markdown_image::draft_path (private)
xowiki::markdown_image::draft_path image_id
Find the staged image for the current user and XoWiki instance.
- Parameters:
- image_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
xowiki::markdown_image::drafts (private)
xowiki::markdown_image::drafts page
Collect this user's staged inline images referenced by the page and its form fields.
- Parameters:
- page (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
xowiki::markdown_image::expire_drafts (private)
xowiki::markdown_image::expire_drafts
Clean up private staging files, including uploads from abandoned forms.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
xowiki::markdown_image::mime_type (private)
xowiki::markdown_image::mime_type path
Identify a supported bitmap by its contents.
- Parameters:
- path (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.